Jaxel
Well-known member
So I used a bit more complicated routes in XF1... for instance:
To do this, I used a helper to create the key, which is essentially
So I'm trying to construct a similar URL in the new XF2 system.
What I did was create a getter in my entity for
I then put that into the route as follows:
However, doing so returns errors:
Anyone got any ideas?
To do this, I used a helper to create the key, which is essentially
$id.$val1.$val2
. Then when I read it into the controller, I would just read the string parameter and explode it based on .
to get back the 3 parameters I needed.So I'm trying to construct a similar URL in the new XF2 system.
What I did was create a getter in my entity for
stream_key
that returns "1.8wayrun.5521605" as requested.I then put that into the route as follows:
:str<stream_key>/:page
However, doing so returns errors:
Code:
The requested page could not be found. (Code: invalid_action, controller: EWR\Rio:Stream, action: 18wayrun5521605)
Anyone got any ideas?