| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Generating .tpl file to .php file | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Creating a new .tpl file.
Im in the middle of making a new template based off the current template that i already have.
so i've made the tpl files and everything but then realized i can't get the tpl files to generate over to php files. I've saved my templates under the skin1 root directory as these files; SSR.tpl SSR_menu.tpl SSR_head.tpl i've layed out everything so it looks like the same template as my current site so when i 'preview' it, it shows up fine. but when i generate..theres no php file to view for the public. my site is www.more-japan.com and im trying to make the SSR.tpl to www.more-japan.com/SSR.php. wondering if anybody can give me directions on how to do this. is there certain coding that i need to input into the tpl files? or..is there a config file that i need to edit inorder to make the files into php? all input is welcomed. thank you. Last edited by More-Japan : 02-19-2007 at 11:08 AM. Reason: title edit |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Generating .tpl file to .php file
[bump]
can someone please help me out with this? greatly appreciated.. |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Generating .tpl file to .php file
[bump]
..theres gotta be somebody that knows how to do this. lol. |
|||||||||
#4
|
|||||||
|
|||||||
Re: Generating .tpl file to .php file
well you dont generate tpl files to a php file
in the php file you tell it to display the tpl file if you took a look at your home.php file you will see 2 lines that look like: Code:
while the second assigns the tpl to be displayed (I believe you can only display one main tpl, so the header and what not will have to be "included" in the main tpl) |
|||||||
#5
|
|||||||||
|
|||||||||
Re: Generating .tpl file to .php file
yes! thank u! =D
that was the exact thing i was looking for..just didnt know where to find it. thanks so much. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|