Hi,
I have a single ZenPhoto install (no ZenPage), with a custom theme based on Default theme. I created some custom themed pages and they work great, but I have a subdirectory where I have other types of files I want to serve through ZenPhoto and I need this subdirectory password protected.
At this moment I have PHP files serving the files and the directory with the .htaccess and everything is working ok. But I want those PHP file with the ZP theme.
If I call the custom page :
/zenphoto/page/subdirectory1/c_page
ZenPhoto complains image "c_page" isnt found under the album "subdirectoy1"
Is there a way to have a subdirectory structure for custom pages?
I must leave the dir structure as it is (even filenames), and looking like the same theme
Thank you for any pointer you may give me
Nelson.
Comments
You could of course change the htaccess rewrite rules.
If you really need to use password protected pages I really recommend to use the Zenpage CMS plugin as you can password protect its pages directly. That is far easier than hacking anything.
I thought also in ZenPage but sadly, the client didn't want to spend more time (small budget) in this project
Thank you