21293 Posts in 5733 Topics by 2602 members
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|Go to End|
25 August 2012 at 4:45pm
I've got a new SS3 site, which has a set up this this
eg: page / action / id / otherid / anotherid
I've tried numerous ways of adding another id to the end of the url, but it's all failing - either with page not found or other errors.
Does any one know a way of doing this?
25 August 2012 at 5:09pm
public static $url_handlers = array(
'$Action//$ID/$OtherID/$AnotherID' => 'handleAction',
to your Controller subclass.
25 August 2012 at 5:53pm
Thanks for that - I was trying similar things, but mustn't have been quite right.
work now -- many thanks!
|Go to Top|