Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
Products
:
Links 2.0
:
Customization
:
SSI
Previous Thread
Next Thread
Print Thread
View Threaded
Jul 24, 2001, 1:45 PM
pgowder
Novice
(26 posts)
Jul 24, 2001, 1:45 PM
Post #1 of 11
Views: 3291
Shortcut
SSI
How can I enable the script so that my templates can be ssi files and use include statements?
thanks
Jul 24, 2001, 1:48 PM
Paul
Veteran
(19537 posts)
Jul 24, 2001, 1:48 PM
Post #2 of 11
Views: 3254
Shortcut
Re: SSI
In reply to
Change $build_extension to .shtml and change $build_index to index.shtml, then put the SSI tag into the template file.
Installations:
http://www.wiredon.net/gt/
Jul 24, 2001, 1:51 PM
pgowder
Novice
(26 posts)
Jul 24, 2001, 1:51 PM
Post #3 of 11
Views: 3249
Shortcut
Re: SSI
In reply to
Do the templates need to have the .shtml extenion as well??
Jul 24, 2001, 1:53 PM
Paul
Veteran
(19537 posts)
Jul 24, 2001, 1:53 PM
Post #4 of 11
Views: 3245
Shortcut
Re: SSI
In reply to
No.
Installations:
http://www.wiredon.net/gt/
Jul 24, 2001, 2:00 PM
pgowder
Novice
(26 posts)
Jul 24, 2001, 2:00 PM
Post #5 of 11
Views: 3243
Shortcut
Re: SSI
In reply to
I've done that and it is still not using the include files.
Here is the pages I'm trying to get to work:
http://www.powwows.com/cgi-bin/links/add.cgi
Jul 24, 2001, 2:04 PM
Paul
Veteran
(19537 posts)
Jul 24, 2001, 2:04 PM
Post #6 of 11
Views: 3287
Shortcut
Re: SSI
In reply to
Please go here:
http://www.gossamer-threads.com/...ew=&sb=&vc=1
Installations:
http://www.wiredon.net/gt/
Jul 24, 2001, 2:08 PM
pgowder
Novice
(26 posts)
Jul 24, 2001, 2:08 PM
Post #7 of 11
Views: 3252
Shortcut
Re: SSI
In reply to
I tried this:
<%include side.inc%>
I get an error:
Unkown Tag: include side.inc
????
Jul 24, 2001, 2:13 PM
Paul
Veteran
(19537 posts)
Jul 24, 2001, 2:13 PM
Post #8 of 11
Views: 3266
Shortcut
Re: SSI
In reply to
Hi,
You will need to install the enhanced template routine here:
http://www.gossamer-threads.com/...es/Detailed/877.html
Installations:
http://www.wiredon.net/gt/
Jul 24, 2001, 2:24 PM
pgowder
Novice
(26 posts)
Jul 24, 2001, 2:24 PM
Post #9 of 11
Views: 3235
Shortcut
Re: SSI
In reply to
Great, now, how do I have it pull a file from another directory outside of /templates?
I tried the full /home/sites/...etc, but it didn't find it.
Jul 24, 2001, 2:28 PM
Paul
Veteran
(19537 posts)
Jul 24, 2001, 2:28 PM
Post #10 of 11
Views: 3256
Shortcut
Re: SSI
In reply to
You'd need to alter this line:
Code:
if (open (INC, "${$self}{'ROOT'}/$1")) {
to something like...
Code:
if (open (INC, "/path/to/includes/$1")) {
Installations:
http://www.wiredon.net/gt/
Aug 8, 2001, 11:47 PM
gator82
Novice
(11 posts)
Aug 8, 2001, 11:47 PM
Post #11 of 11
Views: 3114
Shortcut
Re: SSI
In reply to
Check this thread. Might help?
http://www.gossamer-threads.com/...w=collapsed&sb=5
Previous Thread
Next Thread
Print Thread
View Threaded