More in this section

Forums / Developing with Sitefinity / Registering Routes for Custom Modules without using Sitefinity Provided Widgets

Registering Routes for Custom Modules without using Sitefinity Provided Widgets

1 posts, 0 answered
  1. Kunal Johar
    Kunal Johar avatar
    8 posts
    Registered:
    22 Jan 2010
    15 Mar 2012
    Link to this post
    I have created my own widgets to pull data from custom modules and display them in controls based on the route data or query strings.

    The problem I am having is that while your provided widgets seem to register the routes automatically for /type/details  /type/page/1, etc; I am trying to figure out how to register the routes myself.

    I have tried some of the suggestions from the forum: http://www.sitefinity.com/devnet/forums/sitefinity-4-x/developing-with-sitefinity/url-routing.aspx 

    I have gotten this to work except that I noticed while sitefinity picks the correct page, my custom handler doesn't properly address things like pre-processing generic content images and URLs.

    The easiest thing for me would be to allow me to set the various routes myself.  I can drop my own control into /page  and have the global.asax.cs file register /page/{route}/{subroute} to push info to /page 
1 posts, 0 answered