|
Haven't registered yet? Do it here now!
|
Cucumber John
Joined: 14 Nov 2006 Posts: 4
|
|
|
|
|
|
|
Posted: Tue Nov 14, 2006 1:06 am Post subject: Including the templates |
|
|
|
|
|
|
|
|
|
|
Hi,
Is there a way to include the templates in shtml files?
And if so, how can this be done? |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Nov 14, 2006 1:20 am Post subject: |
|
|
|
|
|
|
|
|
|
|
yeah, there is.
as long as i remember the shtml code should look like:
<!--#include file="path_to_template.php" -->
or
<!--#include file="http://url/to/template.php" -->
Let me know.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Cucumber John
Joined: 14 Nov 2006 Posts: 4
|
|
|
|
|
|
|
Posted: Tue Nov 14, 2006 1:36 am Post subject: |
|
|
|
|
|
|
|
|
|
|
For some reason i still get the [an error occurred while processing this directive]... |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Nov 14, 2006 1:38 am Post subject: |
|
|
|
|
|
|
|
|
|
|
um, i don't think it will be from the templates, something else is the problem.
try first including some other file, not the template, lets say something not handled by the script...if again error, it has something to do with your server..
on problems again, paste me what code you used.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Cucumber John
Joined: 14 Nov 2006 Posts: 4
|
|
|
|
|
|
|
Posted: Tue Nov 14, 2006 1:44 am Post subject: |
|
|
|
|
|
|
|
|
|
|
I've tried it on a page where I include the output of my link link script, and that works fine
Tried both include codes you've suggested but nothing... |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Nov 14, 2006 2:08 am Post subject: |
|
|
|
|
|
|
|
|
|
|
hm, strange, i don't see a point that the inclusion of the LO templates not to work, since they have nothing special, but just pure html code..
well, are the working files you tried on same server as the LO ones and are they .php ones. I can't see anything else that might be causing the problems.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Cucumber John
Joined: 14 Nov 2006 Posts: 4
|
|
|
|
|
|
|
Posted: Tue Nov 14, 2006 3:00 am Post subject: |
|
|
|
|
|
|
|
|
|
|
Found it!! Instead of using the full path I use "lo/site_templates/..." now and it works! |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Nov 14, 2006 11:31 am Post subject: |
|
|
|
|
|
|
|
|
|
|
i told ya _________________ 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
|
|
|
|
| |