redirect depending on $ds-param
This is an open discussion with 4 replies, filed under General.
Search
hi joe,
you could most possibly cheat a little and do one of two things.
Create an extension which hooks to 'datasource-complete' check your parameter & redirect
Create/modify the datasource (execute function; check the param & redirect)
You can build a custom extension which hooks into the FrontendParamsPostResolve
delegate. This delegate passes all $params
including the datasource parameters.
Have a look at Page Headers extension. It enables you to put the redirect in your page.xsl.
No PHP required.
Thanks for super-quick answers! Looks from a quick look that Page Headers might do the trick, otherwise I'll do a custom DS
=)
Create an account or sign in to comment.
Hi, I ran into this issue: I would need to redirect to a different page depending if a $ds-param (datasource parameter). Basically I need to redirect depending on the outcome of a datasource.
I can't use a custom event since they are executed before the DS.
Any tips are welcome
many thanks J