I’m trying to add a custom sub album page to a template. So, instead of having: [index.php > album.php > image.php] it would be [index.php > subalbum.php > album.php > image.php].
I was successful by replacing getAlbumLinkURL() with getCustomPageURL() in template_name/index.php, but this way seemed like a cheap hack and it created an ugly url.
I’m currently trying to integrate the custom subalbum.php the same way album.php and image,php are used. But not sure if this is the best way, as it requires modifying core files.
Any help/insight would be appreciated
zp1.1
Comments
Maybe it would help you to know that you can call custom pages within your theme by `index.php?p=` or with modrewrite
`zenphoto/page/`.