I have been trying to add a contact page to a theme so just copied the index found in the theme's directory and took out the body and put in my contact details... and put a link in the index to the contact.php page.. just a blank page showed..so changed the contact page to a straight forward html one and the same... so moved it to my root directory and it works.. Any idea how I can link a contact page to the themes index and leave it in the themes directory?
Comments
`/zenphoto/page/` (assuming you have mod_rewrite set. If mod_rewrite is not set use `/zenphoto/index.php?p=`)
`` will have `.php` appended to it to load that custom page. Naturally, this assumes that your install is in the `zenphoto` folder.
So, as an example, the "archive" pages of the standard themes are linked by
`.../page/archive` or `...index.php?p=archive`.
Can anyone please help - unless I create this page in html with a brand new css style sheet then it doesn't want to show itself. other people seem to have taken the index page and used this as a basis so why can't I?
Custom pages with the example of archive.php and slideshow.php
“Custom pages†are additional pages that do not display actual gallery stuff like albums or images. You can have multiple custom pages that are called with the url
zenphoto/index.php?p=pagetitle (non mod_rewrite)
or
zenphoto/page/pagetitle (mod_rewrite)
http://www.zenphoto.org/2008/05/theming-tutorial/#custom-pages
- you don't make it very clear ... my zenphoto is in fact in the root directory as I did install wordpress and it was advised to keep this seperate for updates etc... I do know that this issue of extra pages has been raised before but no-one has explained how to link fully...
I do like this software and would love to be able to just get one page with text on it.. but If I can't I will just have to buy one of those substandard template programs.
We actually recommend using zenphoto within a folder if using with another CMS like Wordpress. This is just to prevent .htaccess conflicts since both programms have their own.
Anyway I just tried it on your site with your contact test page. Both ways work.
thanks:-)
Is there any chance you could release a pre-beta version of this plugin? I'll be doing a website tomorrow that'll involve a few simple pages, and I'd love to have even a really buggy plugin handy, if at all possible.
You'll notice my current hack is quite ugly:
http://noscope.com/shop/pages/FAQ.gif/view
Note the "FAQ.gif" in the URL
BTW maybe an ugly hack but an inventive one! Who looks at the url..:-) Another workaround I just got the idea of: You can have empty albums if that helps to skip the gif for now. Just upload an empty folder via ftp named FAQ for example and don't publish the album. Then you can directly link to it just containing the description.