This topic is locked

Replace the template file

9/22/2007 9:11:45 PM
PHPRunner Tips and Tricks
W
wwwguru author

replace the template with your own on the pages you need to
$templatefile = "page_template.htm";
in BeforeShowList event
this gives you option to layout your page anyway you want,
just create the page_template.htm in templates folder
if you need the variables available look in to the original template file and copy over the smarty variables

powersitedesign 2/20/2008

Very Cool Trick, thanks...

S
swanside 2/20/2008

I build my project. Open the required page in MS Frontpage design as I want with the smarty links and save it in the requied output folder. I then copy the file to a spare folder so If I rebuild the project again, I just copy the file back into the output folder.