2013-11-05, 11:37 AM
I have tried looking and searching other threads for this but I cannot see any concrete "Tutorial" or such like on how to do this, I am trying to create a "Home Page" for my site (www.eavoc.com) where at the moment the homepage is index.php, this is fine for the time being until I change it to home.php through .htaccess. but I want to build my homepage first.
What I am looking for is basically this (I have explained on the page what I want there.) http://www.eavoc.com/home.php
I really appreciate any help
To create home.php I have copied the index.php, renamed it, and changed the following:
define('THIS_SCRIPT', 'index.php');
to
define('THIS_SCRIPT', 'home.php');
AND
eval("\$index = \"".$templates->get("index")."\";");
output_page($index);
to
eval("\$home = \"".$templates->get("home")."\";");
output_page($home);
I have also created a template in global templates called "home" which is where I am entering all the html code etc to show the page I can show this upon request
What I am looking for is basically this (I have explained on the page what I want there.) http://www.eavoc.com/home.php
I really appreciate any help
To create home.php I have copied the index.php, renamed it, and changed the following:
define('THIS_SCRIPT', 'index.php');
to
define('THIS_SCRIPT', 'home.php');
AND
eval("\$index = \"".$templates->get("index")."\";");
output_page($index);
to
eval("\$home = \"".$templates->get("home")."\";");
output_page($home);
I have also created a template in global templates called "home" which is where I am entering all the html code etc to show the page I can show this upon request