View Single Post
  #1  
Old 01-27-2005, 08:44 AM
 
mikefeiman mikefeiman is offline
 

Member
  
Join Date: Jan 2005
Posts: 23
 

Default How do you add a page to the template?

I'm trying to create a page that wraps the current template of the site around some basic html. I created a php page and a tpl page but I keep getting the following error. I placed the tpl file in \shop\skin1\customer\main and the php page is placed in \shop\customer

"Pool Dawg :: Access denied !

Page not found!
The requested page is not exists or you are not allowed to access that resource! "

Page Link

PHP code: dogsecure.php
Code:
<?php # # $Id: search.php,v 1.50.2.6 2004/02/05 12:25:45 mclap Exp $ # require "./auth.php"; require $xcart_dir."/include/categories.php"; if($active_modules["Bestsellers"]) include $xcart_dir."/modules/Bestsellers/bestsellers.php"; $smarty->assign("main","dogsecure"); $smarty->display("customer/home.tpl"); ?>


TPL code: dogsecure.tpl
Code:
<font class=NavigationPath>{$config.Company.company_name}</font><font class=NavigationPath>::Secure Site</font> <TABLE border=0 cellPadting=0 cellSpacing=0 width="100%" {$extra}> <TR> <TD height=15 class=DialogTitle background="{$ImagesDir}/dialog_bg_n.gif" valign=bottom>Secure Site</TD> </TR> <TR><TD class=DialogBorder><TABLE border=0 cellPadting=10 cellSpacing=1 width="100%"> <TR><TD class=DialogBox> <table width="100%" border="0" cellspacing="3" cellpadding="0"> <tr height="19"> <td align="left" valign="top" width="130" height="19"> <script src="https://siteseal.thawte.com/cgi/server/thawte_seal_generator.exe"></script> </td> <td align="left" valign="top" height="19"> txt </p></td> </tr> </table> </TD></TR> </TABLE></TD></TR> </TABLE>
__________________
Billiard Exchange
Version 3.5.4
Reply With Quote