Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Using template sets with add.cgi

Quote Reply
Using template sets with add.cgi
I have to use multiple 'add' templates because my main categories have different fields that are relevant to that particular category ...

So far I can get the right add.cgi template by directing to add.cgi?t=templateset. However, when the record is submitted, the add_success page is pulled from the default template set.

How can I force it to use the right template set??
Quote Reply
Re: [AtoZ] Using template sets with add.cgi In reply to
Try adding

<input type="hidden" name="t" value="templateset" />

in your different add templates. I haven't tested this, but it might work.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Using template sets with add.cgi In reply to
That works beautifully! Thanks! :)