CodePlexProject Hosting for Open Source Software
Is it possible to configure Orchard to use Routes like:
or do i have to create a module for such routes?
If you use lists (Container and Containable parts) you will automatically get routes like /list-name/item-name
Oh - I noticed you are saying Ids; well, you can set the slug to be whatever you want for items.
You can also remove the routable part, if you really want ugly URLs. Actually I'm a little curious as to why why why you'd want to do that ;)
I'll try that.
I want ugly URLs because I want to use Orchard to manage (hardware) things identified with barcodes and to make things easy I want to read a barcode and just redirect to something like
You're better off creating your own part to store the barcode number, then setting up your own controller and route to handle the bar code Ids. The reason I say this is because you have no control over the Ids of content in Orchard anyway ;)
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.