Hi all,
I've created my own template for 4images which works the way I want. Now I want to add some static pages (maybe some dynamic ones later), however, I do want to keep the 4images theme to stay in place with navigation and random image still there. I've read this topic
http://www.4homepages.de/forum/index.php?topic=6839.0 and I think it could be helpful if I just copy index.php and rename it along with home.html and add some more tags to be used. But I just wonder if it's possible to somehow just create a new page with a template for it aswell which works within 4images, but has the content in it I want...
What i would do with my PHP-site before is use this code (I hardly know any php, copied and pasted most of the code):
<!-- NEWS -->
<?php
$fg = $HTTP_GET_VARS['fg'];
$extension = "inc";
if ( !$fg || $fg == "" )
{
include($_SERVER['DOCUMENT_ROOT']."/news.inc");
}
else if ( file_exists(($_SERVER['DOCUMENT_ROOT']."/$fg.$extension")) )
{
include($_SERVER['DOCUMENT_ROOT']."/$fg.$extension");
}
else
{ include($_SERVER['DOCUMENT_ROOT']."/404.$extension"); }
?>
to be able to use links like index.php?fg=news I tried this code in home.html and it does display news.inc, but when for instance I try index.php?fg=contact it still displyas news.inc
So all I want to do is add some more pages to my site within 4images...
Thanks in advance!