[Radiant] GET params through Radiant page?
Michael Roper
michael.roper at gmail.com
Sun Nov 12 10:00:59 CST 2006
thanks for the reply sean, i'll have a think about your suggestion...
On 11/12/06, Sean Cribbs <seancribbs at gmail.com> wrote:
> Michael,
>
> You can do it, but you'll need a behavior. By default, all pages are
> cached and your page would not be able to respond to the GET
> parameters. Another option would be to create child pages of your
> "Contact" page called "sales", "support", or whatever. Then only the
> page that processes the submission of the form would need a behavior,
> and your contact pages wouldn't need to respond to GET params.
>
> Cheers,
> Sean Cribbs
> seancribbs.com
>
> Michael Roper wrote:
> > Hi guys,
> >
> > It is possible to access GET parameters passed in the url of a Radiant page?
> >
> > For example, I'm making a contact page, and instead of making multiple
> > enquiry forms (sales, support, general, etc), it would be good if i
> > could pass a url like '/contact/?type=sales' and then programatically
> > show different form fields depending on the type of enquiry...
> >
> > If this is more of a ruby/rails level thing rather than a radiant
> > thing, can i still do it from my radiant page?
> >
> > Cheers,
> >
> > Michael
> > _______________________________________________
> > Radiant mailing list
> > Post: Radiant at lists.radiantcms.org
> > Search: http://radiantcms.org/mailing-list/search/
> > Site: http://lists.radiantcms.org/mailman/listinfo/radiant
> >
> >
>
> _______________________________________________
> Radiant mailing list
> Post: Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
More information about the Radiant
mailing list