Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi everyone,
I'm trying to some custom routing to show a page based on whats at the end of a URL.. Like so;
http://localhost/forum/hardware-tilbehoer/1
Should present a page with another template than the one 'hardware-tilbehoer' is.
I've tried different things but I don't think what I do is correct.
I always end up with a 404 page.
Anyone can assist me in how I would go about doing this?
Umbraco goes around the conventionel MVC routing which is Controller/Action/Id where the parameter id is optional.
but you can create your own custom rutes as shown in the link below
http://shazwazza.com/post/Custom-MVC-routing-in-Umbraco
Hope this helps you out
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Issue with routing
Hi everyone,
I'm trying to some custom routing to show a page based on whats at the end of a URL.. Like so;
Should present a page with another template than the one 'hardware-tilbehoer' is.
I've tried different things but I don't think what I do is correct.
I always end up with a 404 page.
Anyone can assist me in how I would go about doing this?
Umbraco goes around the conventionel MVC routing which is Controller/Action/Id where the parameter id is optional.
but you can create your own custom rutes as shown in the link below
http://shazwazza.com/post/Custom-MVC-routing-in-Umbraco
Hope this helps you out
is working on a reply...