jifeng;3705 wrote:"Home/Browse/Jazz" is what we expect. It does't work?
Hi,
No, it is not what I expect.. the url that kooboo create is the following
http://localhost:53543/Kooboo/dev~Kooboo/TestPage/?ModuleUrl=(3TNPH)%2FHome%2FDetail%2F3
The above url is created using your News Controller/Views avilable in visual studio template.
Even if the routes.xml contains my new route:
<add name="ModuleRoute" url="{controller}/{action}/{id}" routeType="Kooboo.CMS.Sites.Extension.Module.ModuleRoute,Kooboo.CMS.Sites">
<defaults controller = "Home" action = "Detail" id=""></defaults>
<dataTokens Namespaces="TestModule.Controllers"/>
</add>
..the Url contains additional info, as the module url, and the module controller/view names are encoded.
I have added the module into a new page using your entry point Home/Categories.
The firts page (that shows the categories) is showed with the correct page url, when i click over a specific news (so moving to Detail View), the url became:
http://localhost:53543/Kooboo/dev~Kooboo/TestPage/?ModuleUrl=(3TNPH)%2FHome%2FDetail%2F3
I think that for many reason the url should sound like:
http://localhost:53543/Kooboo/dev~Kooboo/TestPage/Home/Detail/3
Is it possible?
I hope that i have explained correctly my needs.
Thanks,
Gino