Pretty permalinks

Permalink
I have created a new page type that pulls information from a third party API. This information is initially a list, with links to further information for each item.

So far I have

www.www.mysite.com/my-new-page/...

The links to the individual items are

www.www.mysite.com/my-new-page/?item=item1...
www.www.mysite.com/my-new-page/?item=item2...

etc

But I want them to be

www.www.mysite.com/my-new-page/item1/...
www.www.mysite.com/my-new-page/item2/...

etc.

How would I go about setting up the permalinks like this in Concrete?

Thanks for any help

View Replies:
5fly replied on at Permalink Reply
5fly
Hi - You could create a new controller for that page type and use variables in the view...

class NewPageTypeController extends Controller {
    public function view($itemID = null) {
    }
}


If that makes sense?