Hi Community
Have already someone a solution to switch between Events using Switch & Redirect Function?
Based on a selection i am sending a target attribute by url to another event. This Event should then, based on this parameter, directly redirect to different Events.
Like:
[pre]index --> details -->switcher
|
-----> Page A[br] |[br] -----> Page B[br] |[br] -----> Page [/pre]
Is it possible to use redirect / switcher functions this way?
On Index Event:
Select A,B,C or D by link Buttons
--> Link to Details Event (Value A/B/C stored in URL / data)
On Details Event:
(contains URL Parameter for target (eg. target=B)
Select some more details...
--> Link to Switcher Event
On Switcher Event:
(data array contains details)
(URL contains target (...com_chronoconnectivity6&cont=manager&conn=connname&event=switcher&target=B))
{fn:switcher_page}
Setup:
Data Provider Field: {data:target}
Values Setup:
{fn:redirect}
Redirect Function Event Field: {var:switcher_page}. <-- Should Contain switcher_page1 / 2 / 3
second part would be "how can i send stored (complex) data arrays from details via Switcher Event to the desired target (take data on switcher event and send it via redirect also to target event)
But actually i am already struggling on the redirect part...
As Info: if possible without ajax (because of some JS which are not working in the details page).
[br]
Info: this is a simple example - at the end i would like to have something like:
"select target Eventview" --> "Select Year Eventview" --> "Select Team Eventview" --> Switcher based on Target --> Resultscreen
Kind regards
Proximate
Have already someone a solution to switch between Events using Switch & Redirect Function?
Based on a selection i am sending a target attribute by url to another event. This Event should then, based on this parameter, directly redirect to different Events.
Like:
[pre]index --> details -->switcher
|
-----> Page A[br] |[br] -----> Page B[br] |[br] -----> Page [/pre]
Is it possible to use redirect / switcher functions this way?
On Index Event:
Select A,B,C or D by link Buttons
--> Link to Details Event (Value A/B/C stored in URL / data)
On Details Event:
(contains URL Parameter for target (eg. target=B)
Select some more details...
--> Link to Switcher Event
On Switcher Event:
(data array contains details)
(URL contains target (...com_chronoconnectivity6&cont=manager&conn=connname&event=switcher&target=B))
<h1>Switcher</h1>[br]
{fn:switcher_page}
{fn:redirect}
{fn:switcher_page}
Setup:
Data Provider Field: {data:target}
Values Setup:
A:switcher_page1
B:switcher_page2
{fn:redirect}
Redirect Function Event Field: {var:switcher_page}. <-- Should Contain switcher_page1 / 2 / 3
second part would be "how can i send stored (complex) data arrays from details via Switcher Event to the desired target (take data on switcher event and send it via redirect also to target event)
But actually i am already struggling on the redirect part...
As Info: if possible without ajax (because of some JS which are not working in the details page).
[br]
Info: this is a simple example - at the end i would like to have something like:
"select target Eventview" --> "Select Year Eventview" --> "Select Team Eventview" --> Switcher based on Target --> Resultscreen
Kind regards
Proximate