|
Haven't registered yet? Do it here now!
|
mrz
Joined: 12 Nov 2010 Posts: 2
|
|
|
|
|
|
|
Posted: Fri Nov 12, 2010 8:01 pm Post subject: unable to display my template code |
|
|
|
|
|
|
|
|
|
|
Hi,
I am being unable to display my template code in my website. It is made from a template file .tpl but my index page is a php file “index.php”.
I tried to add the code bellow to my .htaccess file as advised by my host techs in order to parse the code as php, but it still not working. From the source code of my index.php you can tell that’s not parsing.
AddType application/x-httpd-php5 .tpl
I tried all codes the same, could anyone here pls help?
Thanks,
Tim. |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Fri Nov 12, 2010 9:34 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
i can't clearly understand what you are trying to achieve?
your index.php is php file, and you don't need to add anything in your htaccess or whatsoever, because it is php file and any php code inserted will work.
i suppose you are using some kind of script that is using file.tpl as a source code of your index page template and from it, it is building the ready for use index.php _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
mrz
Joined: 12 Nov 2010 Posts: 2
|
|
|
|
|
|
|
Posted: Sat Nov 13, 2010 1:40 am Post subject: |
|
|
|
|
|
|
|
|
|
|
Yes, you are right kaktusan i am using affiliate window script that is using index.tpl page template as a source code and from it, it is building the ready for use index.php. what do u suggest i do pls?
here is one of my site: allukstores DOT com
here is the template i would like displayed:
explosivethumbs DOT com/lo/site_templates/site_26_48.php
pls reply asap.
Thx. |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Sat Nov 13, 2010 8:24 am Post subject: |
|
|
|
|
|
|
|
|
|
|
well, whatever you put in the tpl file should be copied to the index.php
So if you enter the LO code in it, it should be copied and working in the index.php since the LO code is php
If it is not working for some reason, ask the developers of that program how to properly insert php code in it.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
| |