Gossamer Forum
Home : Products : Gossamer Links : Discussions :

static mode for a new template

Quote Reply
static mode for a new template
 
Quote Reply
Re: [antoined] static mode for a new template In reply to
Was there meant to be a post? Unsure

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] static mode for a new template In reply to
I was trying to ask if it is possible to run a diffrent template in a static mode? if yes, ..../pages/index.html become ..../pages/index.html&t=newtemplatename???

Thanks
Antoine
Quote Reply
Re: [antoined] static mode for a new template In reply to
You couldn't do it quite like that, but I don't see why it wouldn't be possible to do something like;

RewriteRule ^links/(.*) /cgi-bin/links/page.cgi?g=$1
RewriteRule ^different/(.*) /cgi-bin/links/page.cgi?g=$1;t=new_temp_set

...and similarly with the other rewrite rules. So in short, just use the same rewrite rule, but change the folder name and pass in t=foo at the end.

Please note, you will problably need to hardcode/modify the templates so that they take into consideration the new template.

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!