ZenphotoCMS Forum
New 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: New page (/thread-3301.html)



New page - enams - 2008-07-16

Hi, I have Zenphoto fully installed without any problem. What I want is to create a pag for example for news that will have the same design as the site and where I can integrate some of zenphoto's plugins. Anyone can help me. Here s my website: http://ed2k.paradise.free.fr/

Thanks.




New page - acrylian - 2008-07-17

How do you want to do this news page? Hand/hard coded or with another system like Wordpress.

If the first please look at our theming tutorial and the part "custom pages": http://www.zenphoto.org/2008/05/theming-tutorial/#custom-pages
If the second please look at our extensions page: http://www.zenphoto.org/2008/01/wordpress-plugins/
There is also a general solution that should work with other systems: http://www.zenphoto.org/2008/01/hacks/#zenphoto-as-plugin

Please also try a forum search.




New page - enams - 2008-07-17

What I want is to create a page for exampe news.php that will follow the same theme of the site.




New page - acrylian - 2008-07-17

Then please read the link about custom pages above.




New page - Connie - 2008-07-17

why you post twice?




New page - enams - 2008-07-17

No I don't want an archive parge or slideshow I want juste a page with a different content that talks about something, but that is similar with the index page just in theme ( the search barre and the backrougn img, etc....)




New page - Connie - 2008-07-17

Enams, you post twice and you don't want to understand...

well, it is very easy:

you have a template which you use
you have a custom page which you store in the root of your zen-photo-installation for example
this page uses the same CSS-stylesheet and the same CSS-classes and CSS-Ids which you use in the template, foto-pages

so.
Now you open your template, for example index.php, look for the menue and add there a link to that custom page
or you enter a link to your custom page in any other of the template-pages which sit in the folder of the template which you activated

it is just plain HTML-integrating

check it out, but really: try before cry ;=)




New page - acrylian - 2008-07-17

@enams: The custom pages I linked to above are exactly for that, slideshow or archive page are just examples of custom pages in use. You can put anything on them you like. The advantage over a plain html pages as Connie suggests (which is a way, too) is that on custom pages automatically nearly all general zp template functions are available.




New page - enams - 2008-07-17

Thanks for you're explanation but I want if it's possible to have all the code of a custom page with the stopdesign theme so that I have to change just the content. I hope I will find what I want. Thanks.




New page - acrylian - 2008-07-18

Just remove the album or image stuff from album.php or image.php, rename the page to whatever you want to call it and add the text you want to show. Please really take the time to read the theming tutorial.




New page - enams - 2008-07-18

ok I will try. Thanks.