Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Dynamic Category Pages

Quote Reply
Dynamic Category Pages
How do iget the directory to display dynaimc categorys

Whaat do i need to modify the "build_extension" .html

Please help,
Jason Bishop
Quote Reply
Re: [netnow21] Dynamic Category Pages In reply to
Hi,

I'm not sure what you mean?

Do you want categories to be displayed dynamically?

If so, then you should probably consider mod_rewrite, as it shows the pages as static - but they are all served dynamically.

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!
Quote Reply
Re: [Andy] Dynamic Category Pages In reply to
Hi Andy,

Yes i need the categories to be displayed dyanmic, so I can create the rules with mod-rewrite.

When i build my site everything is dynamic except the catgeories. How do i view the categories dynamicaly and also how do i view the detailed pages dynamically.

any suggestions,

Thank You very much,
Jason
Quote Reply
Re: [netnow21] Dynamic Category Pages In reply to
Hi,

You need to setup something like this (in a .htaccess file);

Code:
RewriteEngine On
RewriteRule (.*)\.css $1.css [L]
RewriteRule ^images/(.*) images/$1 [L]
RewriteRule ^AddImages/(.*) AddImages/$1 [L]
RewriteRule ^Images/(.*) Images/$1 [L]
RewriteRule ^p/(.*) /cgi-bin/linkssql/page.cgi?g=$1 [L]
RewriteRule ^info/(.*) /cgi-bin/linkssql/page.cgi?p=$1 [L]
RewriteRule ^(.*).php /cgi-bin/linkssql/page.cgi?g=$1.php [L]
RewriteRule ^/?$ /cgi-bin/page.cgi [L]
RewriteRule ^$ /cgi-bin/linkssql/page.cgi [L]

(replace /cgi-bin/linkssql/ with the path to your install of GLinks)

Then, all static pages should be run dynamically.

If you need someone to set this up, please let me know (its chargeable though I'm afraid)

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!