ZenphotoCMS Forum
Easy way to add pages ? - 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: Easy way to add pages ? (/thread-2540.html)



Easy way to add pages ? - LpSoleil - 2008-03-26

I love ZenPhoto gallery and used it for a while. I have to build a portfolio site with mostly images and 2 more pages that are About and Contact. Is there an easy way to make it dynamically from the admin section, or a usefull hack?

I'm more graphic artist than code artist. So if someone can help or guide me through the steps...

Thank you!

Lp.




Easy way to add pages ? - AlexWilson - 2008-03-26

Short answer: Not really.

If you want them to have the same "look and feel" as the ZP theme, your best bet it start with the HTML page-source of one of the theme pages, and put your content in it. Then you'll have to customize your theme to link to your new pages.




Easy way to add pages ? - LpSoleil - 2008-03-26

About the look is not that bad, i'm use to Css style a lot. The thing is that is for a friend that need to update those 2 pages and it would be ridiculous to use a big CMS for it and implement ZenPhoto. So maybe i'll teach him Html for page changes...
Thank you!




Easy way to add pages ? - acrylian - 2008-03-26

You can make custom pages, just take album.php for example and clear out all the album stuff. Then you could call that page as a theme page, too. Use zenphoto/index.php?p=page-namefor non modrewrite and zenphoto/page/page-name with mod rewrite.

To your question about a hack, I am working on an addon, but that will take a little more time:
It has been "unofficially pre announced" here: http://www.zenphoto.org/support/topic.php?id=2377&replies=13#post-14504




Easy way to add pages ? - LpSoleil - 2008-03-26

COOL ! thank you!




Easy way to add pages ? - jayray999 - 2008-03-26

My suggestion. Use Wordpress and this trick which I saw in a post from BertSimmons. It's really simple:
http://www.ruzee.com/blog/2006/06/integrating-zenphoto-into-wordpress/




Easy way to add pages ? - LpSoleil - 2008-03-26

yes indeed really simple. I was'nt sure to want to install wordpress for 2 or 3 pages, but it can be a solution while i'll wait for acrylian addon. Thank you for your answer too!




Easy way to add pages ? - jsumners - 2008-03-26

As far as I can tell, your two additional pages would be nothing more than static HTML. The simplest solution is to write the two extra pages and then add links to them in "index.php", "album.php", "image.php", and "search.php" for whatever theme you use.




Easy way to add pages ? - LpSoleil - 2008-03-27

JSumners, that is what I did on this site. That works perfectly!
The thing is that my friend/ client needs to update the outside pages and don't know nothing about html or coding.