I'm not referring to just adding a description to the album itself. My client wants a 6th "box" added to this page -
http://slyspyder.com/zenphoto/fineart/That would just have text in it explaining some pricing options. How would I add a "box" to just display when the Fine Arts is displayed and not the other albums?
For example if the album displayed is FineArt display this text, if it's Stock Images display this text, etc.
Comments
You then would have to use the object model to get the desired display. There is a tutorial (of course you need php knowledge).
Thank You.
Edit - Am I even close?
`
<?php
$galleryobject = new Gallery();
$fineart = new Album($galleryobject,"<fineart>");
if ($galleryobject = "") {
echo 'Fine Art Text';
}
?>
`
http://www.zenphoto.org/2008/08/zenphoto-glossary/
http://www.zenphoto.org/2010/02/zenphotos-object-model-framework/
http://www.zenphoto.org/2008/07/zenphotos-global-variables/
To get the description of the toplevel parent of any album;
`$uralbumobj = getUrAlbum($_zp_current_album);`
echo $uralbumobj->getDesc();`
Btw `$galleryobject = ""` would overwrite $galleryobj.... and makes it the value "<fineart>". But that is nonsense anyway (see the tutorial)..:-)
Thank you for trying to help me.
If that is not what you want that you are probably either did not my example or where not specific enough...;-)
I'm going to show him a css pop-up instead and see how that goes with him. I do appreciate your help very much thus far acrylian.
`if($_zp_current_album->name == "") { }`
is all you need. Pretty plain standard and simple stuff.