10712 Posts in 2390 Topics by 1763 members
|Go to End|
13 November 2012 at 7:14pm
I am new to Silverstripe Framework / CMS. I see `./mysite/code/Page.ss` as controller and `./themes/simple/...` as template directory. I logged into the admin panel and added new "test" page. The menu appears on the website with the URL `http://example.com/test` and content is displayed.
So what I want to know is, how to access the new controller let say `Download.ss`. I want to access the URL `http://example.com/download/123/` without adding the new page `download` in admin panel. Thank you.
13 November 2012 at 8:21pm
See the director class (http://doc.silverstripe.org/framework/en/reference/director), routing in particular will help pointing a url to your controller - http://doc.silverstripe.org/framework/en/reference/director#routing.
|Go to Top|