Hi!
i use mod_rewrite and for albums and images it works fine, but if i add a link to a page it returns the wrong url.
when i use:
printCustomPageURL("my Page","thepage");
i get this URL back:
/page/thepage (deliver a 404)
but the right url must be /pages/thepage
i have the laterst ZP and it is a fresh install i dont changed anything in the .htaccess or core files.
ideas?
greets from Austria
Michael
Comments
`/pages/thepage` would be the url of a Zenpage CMS plugin page which is something different. If that works depends if the theme used has Zenpage support.
i made my own theme with Zenpage CMS support.
so printCustomPageURL is the wrong way to get a link of a CMS page?
how get i the right link? or do i have to format it manualy via a static <a href= tag?
http://www.zenphoto.org/documentation/plugins/zenpage/_zp-extensions---zenpage---zenpage-template-functions.php.html#functiongetPageLinkURL
http://www.zenphoto.org/documentation/plugins/zenpage/_zp-extensions---zenpage---zenpage-template-functions.php.html#functionprintPageLinkURL
Or use the object model behind this all directly.
printPageLinkURL is what i need