Yes, it's easy. I added the following code in view_albums.php, where it displays the description above the photos, but only on the first page.
If you want it on every page beneath the title, just leave out the if-statement and place the code in album.header. That should work too, although I haven't tested it.
<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
<?php
if ($page == 1)
{
print "<br><center>".$gallery->album->fields["description"]."</center>";
}
?>
</TD></TR></TABLE><!-- BBCode End -->
bpd@darb.net
Joined: 2002-08-20
Posts: 101
Posted: Tue, 2003-04-22 17:07
sweet, that works perfectly. I did it in html_wrap and lefted it.
Posts: 313
Yes, it's easy. I added the following code in view_albums.php, where it displays the description above the photos, but only on the first page.
If you want it on every page beneath the title, just leave out the if-statement and place the code in album.header. That should work too, although I haven't tested it.
<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
<?php
if ($page == 1)
{
print "<br><center>".$gallery->album->fields["description"]."</center>";
}
?>
</TD></TR></TABLE><!-- BBCode End -->
Posts: 101
sweet, that works perfectly. I did it in html_wrap and lefted it.
http://darb.net/albums.php
thanks :wink:
Posts: 3473
$gallery->album->fields['description']
Posts: 3473
Doh... sorry! Ignore me...