07 Oct 2013
13 Nov 2013
Link to this post
I created a module via sitefinity thunder, and looked into how they create a backend group of pages using the SiteInitializer.Installer. What I want to know is, is it possible to do this for the front end where SiteInitialize.Installer.CreateModuleGroupPage(...).PlaceUnder(...), Where I can target the PlaceUnder Method to point to a published page or better yet register my web user controls as a valid url's recognize by sitefinity. I know this can be done by creating a page and adding my widgets into the page and navigating from created pages to pages, but this just wont do(unless I don't have a choice).
Lets say I have a Documents module, this module has 3 different view, the index one list all my documents, and from this default view I can create a new document clicking the upload button and I can edit each created document by clicking the edit button. I want my widget to contain all this pages, just like in the back end pages when the user navigates to my default view... I just want to know if this option is possible otherwise I will have no choice but to clog all this 3 views into one ascx and create a complicated ConfigureControl method just to figure out what to show and what to hide depending on the clicks... the other option is to create 2 pages and create 2 widgets, then navigate using the 2 pages...(and my problem with this approach is by the time my site is ready, I will have 10000 pages containing different views that could have been minimize if I was able to register my user web controls as a valid url for sitefinity.
Thanks in advance,