This is weird, I know.
I want to make a 'tweet this!' link on the pages, and to do that, I need to be able to self-reference the URL.
Tweet This
Obviously I want to replace URLGOESHERE with ... the URL ;) So How can I extract THIS page's URL? That is if I have it on an album page, I want it to show the album URL, etc etc.
You should be able to do this simply through PHP using $_SERVER['HTTP_HOST'] and $_SERVER['REQUEST_URI'].
Or by using functions available:
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetAlbumLinkURL
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetImageLinkURL
http://www.zenphoto.org/documentation/plugins/zenpage/_plugins---zenpage---zenpage-template-functions.php.html#functiongetNewsURL
http://www.zenphoto.org/documentation/plugins/zenpage/_plugins---zenpage---zenpage-template-functions.php.html#functiongetPageLinkURL
It helps to look at the documentation, all functions are titled quite "speaking"...
I suspected there was a function for it, and I think my brain just glazed over at a certain point trying to find it (search only works when you know WHAT you're looking for, y'know ;) ). Also remembering that some times you need an echo.