Gossamer Forum
Home : Products : Gossamer Links : Discussions :

detailed only in dynamic

Quote Reply
detailed only in dynamic
I am building a shopping mall based on GLinks and while I want to operate it as a static site, I need to incorporate data from 1 field dynamically: whether the product is in stock or not.

I can do this 1 of 2 ways:
Build a static site with a dynamic detailed page.
Build the detailed pages in static mode with the extension .shtml

Probably the first method would be more practical; in which case how can I make the detailed pages only available dynamically?

Thanks in advance
Quote Reply
Re: [Alba] detailed only in dynamic In reply to
You can do it this (http://www.gossamer-threads.com/...orum.cgi?post=282949) way if your host has mod_rewrite module install. Instead of having $cond->add ('isValidated', '=', 'No'); make a new table called build_detailed and set as no for default and use $cond->add ('build_detailed', '=', 'No');