Hello.
I've spun my wheels on this for a bit now. I didn't really get far. I'm hoping that I might be able to get a bit of assistance.
I would like to simply display the "Download a zip file of this album" link to those who are logged in as a registered user (like family and friends), and not to those who are simply browsing. Something like:
if (registeredUser())
printAlbumZip();
It seems that using the following has no effect on whether or not I'm actually logged in (it always displays the link):
<?php if (!checkForPassword()) { ?>
<?php printAlbumZip(); }?>
After reading more in the documentation, it looks like that checkForPassword() function looks to see if a registration form is present.
http://www.zenphoto.org/documentation/functions/_template-functions.php.htmlMaybe isMyAlbum() is more appropriate? Not sure.
I appreciate any feedback I get. Thanks in advance.
Comments
Then you'd use the
`
if(isMyAlbum()){
printAlbumZip();
}
`
I appreciate it!