![]() |
|
get current page url - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: get current page url (/thread-12392.html) |
get current page url - RB26 - 2015-12-22 bonjour get current page url - RB26 - 2015-12-22 I've found: getRequestURI() get current page url - acrylian - 2015-12-22 Actually I think it would be better to use the object model, unless you want to do something specific. There are global variables available for all five main items (album, image, Zenpage page, news article and news category) that contain the object of the current item if in context: The object method There are more such globals: http://www.zenphoto.org/news/zenphotos-global-variables |