Pixelated a phpBB Template by SkaidonDesigns
 
Cheapest Web Software Support Area Forum Index www.cheapestwebsoftware.com
Play with the Best, be the Best!
Blogs Automater
FAQ
Search
Memberlist
Usergroups
Profile
Log in to check your private messages
Log in

The Mightiest Webmaster Solutions Ever
Special Offers
Special Offers
Links Organizer
Links Organizer
Rocket Pinger
Rocket Pinger
Kaktusan Cash
Kaktusan Cash

Haven't registered yet? Do it here now!
unable to display my template code

 
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Links Organizer
View previous topic :: View next topic  
Author Message
mrz



Joined: 12 Nov 2010
Posts: 2

PostPosted: Fri Nov 12, 2010 8:01 pm    Post subject: unable to display my template code Reply with quote
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.
Back to top
View user's profile Send private message

Author Message
Atanasis
Owner


Joined: 22 May 2004
Posts: 4284
Location: The Net

PostPosted: Fri Nov 12, 2010 9:34 pm    Post subject: Reply with quote
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

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number

Author Message
mrz



Joined: 12 Nov 2010
Posts: 2

PostPosted: Sat Nov 13, 2010 1:40 am    Post subject: Reply with quote
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.
Back to top
View user's profile Send private message

Author Message
Atanasis
Owner


Joined: 22 May 2004
Posts: 4284
Location: The Net

PostPosted: Sat Nov 13, 2010 8:24 am    Post subject: Reply with quote
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

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number

Display posts from previous:   
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Links Organizer All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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