Guest Posted November 22, 2006 Share Posted November 22, 2006 Hi All Ok - i've managed to get my nav bar at the top with the corresponding tabs. Now all i need to do is create new html pages based on my homepage template design. So this is what i have done which does not seem to be working - but i'm getting close! can someone pls tell me what i'm doing wrong.... and what is the process.... First i went into index.tpl and added my nav bar Secondly i linked them as such; by the way i'm only so far trialing out the freebie one marked in red and when i know what i'm doing i'll do the rest. <div id="stylefour"> <ul> <li><a href="http://http://www.mia-g.com.au/index.php/" title="Home">Home</a></li> <li><a href="http://www.mia-g.com.au/Gifts/info_8.php?act=viewDoc&docId=1" title="Gifts">Gifts</a></li> <li><a href="http://www.mia-g.com.au/index.php?act=viewCat&catId=7" title="Offers">Offers</a></li> <li><a href="http://www.mia-g.com.au/index.php?act=viewCat&catId=8" title="Santa's Wish List">Santa's Wish List</a></li> <li><a href="http://www.mia-g.com.au/index.php?act=viewDoc&docId=2" title="Clearance">Clearance</a></li> <li><a href="http://mia-g.com.au/freebies.php?act=viewDoc&docId=2" title="Freebies">Freebies</a></li> <li><a href="http://www.mia-g.com.au/index.php?act=viewDoc&docId=2" title="Advice">Advice</a></li> <li><a href="http://www.mia-g.com.au/index.php?act=viewDoc&docId=2" title="Contact">Contact</a></li> </ul> </div> Next - and don't laugh at me as i'm only trying to do things myself! ; I went in and created a duplicate of my index.tpl and called it freebies.tpl Next - I went to my www and created a new file called freebies.php <html> <title>Freebies</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <table> <tr> <td><?php define ( "MAINSCRIPT", "freebies.php" ); include("index.php")?></td> </tr> </table> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> Ok - this is where i'm absolutely stuck - because i don't know why my link isn't working... so could someone pls explain to me the correct process and guide me through making an extra html page based on my nav bar. Truly appreciate it. Thanks Antz Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.