16 Mar 2015
16 Jun 2015
Link to this post
I open this post for solve a issue in our sitefinity development. We are investigating about the urls and pages, and we don't find the right solution. To put into context the discussion, we are working with mvc widgets, and hybrid MVC mode.
We want to use the url "/news" for access to our news home. This page is created over a template of us, where a list of news is created . For solve it, we create a page called "news".
Another case is that the url is from a news that doesn't allocated in SF database. In this case, if we go to "/news/url", we will need a controller which loads the news from the external database, and load the page "News" with the selected news.
A last case, is that the "url" is another text that will be used in the page, as example, the initial tag which be filtered our list ("/news/uk" for our news list, filtering for the "uk" value).
We tried to do it through mvc routing, creating custom content locations... But we cannot find the way to intercept our calls for load the page that we want with the model and parameters that we want.
Thanks in advance!