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

The Mightiest Webmaster Solutions Ever
Gallery Scraper
Gallery Scraper
Blogs Automater
Blogs Automater
Special Offers
Special Offers
Plug Rush
Plug Rush

Haven't registered yet? Do it here now!
Confused about include in html template
Topic Tags:
 
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Links Organizer
View previous topic :: View next topic  
Author Message
globalinsites



Joined: 20 Feb 2010
Posts: 4

PostPosted: Sat Feb 20, 2010 9:51 pm    Post subject: Confused about include in html template Reply with quote
I want to display a table with links on my tube site which uses .html templates. For some reason the table with links won't show up.

I first tested the template by going to the template url in my browser and I see the table with a link showing up fine, so no problem so far.

I have this in my htacess file which is in the root of the domain:
AddType application/x-httpd-php .htm
AddType application/x-httpd-php .html

I have tried adding all 3 includes in my html tube template file (I did that one by one of course), but the table with link did not show up.

My tube script is in
/tube
My tube template files are in
/tube/templates/default

(not sure if you needed that information..)

I then noticed that I have a index.php in /tube although I always go to /tube/index.html. I then found this in my htaccess which could explain that:

RewriteEngine on
RewriteRule ^index.html$ index.php [L]
(and lots more)

I then got very confused Confused and not sure what to do anymore LOL

Any tips?

Thanks
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 Feb 20, 2010 10:58 pm    Post subject: Reply with quote
well, lets start from here..

if your tube is on same server as is LO, grab the first local php include code from LO. If your tube is on another server, grab the CURL link code from LO

make a new file without any contents and put the LO code in it, and save it like http://www.yourtube.com/kaktusan.html

then visit the url in your browser and let me know if yo usee the trades or no.. if no there's a problem with calling the trades..

if you saw the trades, then calling the trades works with that code you used, so now you need to put it in your tube templates. But, be sure you templates allow php inside them..
_________________
Thanks,
Kaktusan

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

Author Message
globalinsites



Joined: 20 Feb 2010
Posts: 4

PostPosted: Sat Feb 20, 2010 11:21 pm    Post subject: Reply with quote
My tube is on the same server as LO. I did what you said and I can see the table with trades on kaktusan.html.

I then copied the code to my template, but the table with trades does not show up Sad

How can I find out if my templates allow php in them or not?
Back to top
View user's profile Send private message

Author Message
Atanasis
Owner


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

PostPosted: Sun Feb 21, 2010 12:06 pm    Post subject: Reply with quote
i see, then everything about LO is fine.. you now need to talk to your tube script support and ask them how to insert properly php code inside the template.. i am not familiar with the tube scripts, sorry..
_________________
Thanks,
Kaktusan

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

Author Message
globalinsites



Joined: 20 Feb 2010
Posts: 4

PostPosted: Sun Feb 21, 2010 1:17 pm    Post subject: Reply with quote
I spoke to him and finally got it to work by adding this in my template:

{include_php file="my_file.php"}

I replaced my_file.php with the url to the LO template and it seem to work just fine now.

Thanks for your help.
Back to top
View user's profile Send private message

Author Message
Atanasis
Owner


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

PostPosted: Sun Feb 21, 2010 8:35 pm    Post subject: Reply with quote
ok, cool! glad you worked it out Smile
_________________
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