billybrag Posted August 5, 2004 Posted August 5, 2004 can someone just give me a quick hand and a kick in the right direction, what i want to do is convert the information pages into static pages, and have the "standard" website approach of having links along the bottom of the page, im just not a coder! (only god knows how ive got this far)!! "because it'll hurt more"- the greatest film of all time?
Guest Posted August 6, 2004 Posted August 6, 2004 You should insert your page formatting in the language file for the page - eg. define('TEXT_INFORMATION', 'Put your page formatting/text/images between these'); Here is an example of footer links - put this in includes/footer.php: <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF"> <tr bgcolor="#C7CED8"> <td class="main" align="center"> <?php echo tep_draw_separator('pixel_trans.gif', '30', '15'); echo '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">About Us | </a>'; echo '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">Terms and Conditions | </a>'; echo '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">Privacy Notice | </a>'; echo '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">Shipping and Returns | </a>'; echo '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">Contact Us | </a>'; ?> </td> </tr></table> There is a non-standard filename in the above, but you get the idea :D You must use the tep_href_link function for links, otherwise you will lose the session. Matti
Recommended Posts
Archived
This topic is now archived and is closed to further replies.