Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Building Pages question

Quote Reply
Building Pages question
Ok, cheesy question here... I'm by no means a guru but I've got everything working. I've worked on a new layout and I'm using SSIs, how do I set Links to create pages with a .shtml extension instead of just an .html extension?



Thanks in advance for your help with this!

Rave
Quote Reply
Re: [ravetsn] Building Pages question In reply to
Hi,

Change the two variables in the links.cfg file like below

# The name of an index file.

$build_index = "index.shtml";

# The extension to use for non index files:

$build_extension = ".shtml";

Cheers,

Dat

Scripts installation and plugin creation
Plugins
Quote Reply
Re: [tandat] Building Pages question In reply to
Thanks! OK, I got that done, but on pages like add.cgi, modify.cgi, & subscribe.cgi... I still can't get them to work. Any suggestions on those? Thanks again for your help.

Rave
Quote Reply
Re: [ravetsn] Building Pages question In reply to
What's problem with these files?

Cheers,

Dat

Scripts installation and plugin creation
Plugins
Quote Reply
Re: [tandat] Building Pages question In reply to
Just that the pages they create are .html(s) instead of .shtml(s) so again, my SSIs are not showing up.

http://www.theslayer.net/cgi-bin/links/add.cgi

Should have all the navigation and stuff to look like:

http://theslayer.net/links/index.shtml

Thanks again!

Last edited by:

ravetsn: Mar 24, 2002, 11:15 PM
Quote Reply
Re: [ravetsn] Building Pages question In reply to
Thats because, as explained in many post, SSI does not work in CGI dynamiic page Wink

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates