![]() |
|
Using getCustomPageURL to get a link to custom page - 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: Using getCustomPageURL to get a link to custom page (/thread-8899.html) |
Using getCustomPageURL to get a link to custom page - CoffeeGuy - 2011-07-23 I create a custom page called 'boo'. I'm trying to use getCustomPageURL to link to the page. getCustomPageURL generates a URL: foo.com/PAGE/boo. The custom page is at foo/PAGES/boo. Am I using the wrong function to create the custom page URL? Thanks! Using getCustomPageURL to get a link to custom page - sbillard - 2011-07-23 `getCustomPageURL()` Quote:Produces the url to a custom page (e.g. one that is not album.php, image.php, or index.php)I suspect this is a terminology misunderstanding. The cited fucntion produces a link to a script (`page`) of your theme that is not on of the standard ones. You seem to be wanting a link to a Zenpage Page. For that use `getPageLinkURL()` Using getCustomPageURL to get a link to custom page - CoffeeGuy - 2011-07-23 Awesome! Thats it. Thanks very much; worked like a charm. |