farhang
Jan 1st 2008, 1:38 am
Hello,
I have been customizing this script and just got stuck on this last thing.
I have this code what it does is outputs a "GALLERYTITLE"
<?php
if ( $aGalleyIndex = getParentAlbums()) {
echo $aGalleyIndex[0]->getTitle();
} else {
printAlbumTitle();
}
?>
What i want to do is take that "GALLERYTITLE" and put in a include right next to that code
<?php include('albums/GALLERYTITLE/info.txt'); ?>
Anyone can help ?
Thanks
I have been customizing this script and just got stuck on this last thing.
I have this code what it does is outputs a "GALLERYTITLE"
<?php
if ( $aGalleyIndex = getParentAlbums()) {
echo $aGalleyIndex[0]->getTitle();
} else {
printAlbumTitle();
}
?>
What i want to do is take that "GALLERYTITLE" and put in a include right next to that code
<?php include('albums/GALLERYTITLE/info.txt'); ?>
Anyone can help ?
Thanks