What I’m trying to accomplish is having all the pages route like this:
/9999/tickets/create
/9999/tickets/update/1
/9999/tickets/index
/9999/tickets/{action}
/9999/module/{controller}/{action}
/9999/module/{controller}/{action}/{id}
So the 9999 would represent the actual client to who the data belongs to. The reason I’m doing this is because it’s easier to whether a client_id request matches the current data being looked up (permission wise)
I hope that makes sense. Any help accomplishing this with url rules is very much so appreciated.
Ah okay, these seem to work. Thanks Next problem is getting the widgets to follow this url style. I guess I’m under the impression that Yii would build the url’s from the core widgets based on the url rules? Any idea why that might not be working?
it maybe works, but is not correct. Part on right side of association should be a ROUTE, which means only <module>/<controller>/<action> or <controller>/<action>. Without any other GET parameters (like client_id).