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(); } ?> Code (markup): 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'); ?> Code (markup): Anyone can help ? Thanks
Never mind i figured it out <?php if ( $aGalleyIndex = getParentAlbums()) { $blah=$aGalleyIndex[0]->getTitle(); } else { $blah=getAlbumTitle(); } include('albums/'. $blah .'/info.txt'); ?> Code (markup):
that's a good one, nice to hear someone solve their own problem, which means that he doesn't just let other think for him.