Hello,
Please put a search form on the board. I'm looking for a way to add a custom page in more detail with .htacess installed.
Wouldn't it rock if you could add a custom field (like expression engine) and make an about us page and other stuff like that. But that'a whole 'nother subject.
I think, even with my limited scripting, I can add another table and just make a page like that (I have no clue how to add it to the admin section and, for that matter, when an upgrade comes along what a pain to re-create).
Thanks!
Comments
http://www.zenphoto.org/support/search.php
as for the "us" page you can accomplish that by
anything.php becomes /index.php?p=anything
You can add the following rule to your .htaccess to be able to visit the page from /page/anything:
RewriteRule ^page/([A-Za-z0-9-]+)/?$ index.php?p=$1 [L,QSA]
This must go UNDER the RewriteRule ^page/([0-9]+)/?$ line
Daniel's right about putting in custom PHP pages. In a theme, anything.php (in the theme's folder) is accessible through index.php?p=anything . Also, if you add that rewrite rule, it's also going to be in future versions so you won't need to worry about it in your themes ever again
Thanks. This is an excellent forum. Very clean.