I am new to using Umbraco and need suggestions on how to plugin a standalone module to a Umbraco Website. I am trying to create an module where a user can login. It has nothing to do with the rest of the website which is in Umbraco except for the masterpage. The masterpage has macros for dynamic navigation on it, so i guess i cant access the masterpages. The navigation of the webiste is dynamic so the template for the standalone module should also reflect any changes made on the navigation on the Umbraco Module. Can any one of you please suggest the best methods to handle the scenario.
I don't see why you shouldn't add your module to the umbraco website as you need the masterpages and the dynamic behaviour of the navigation in your own "module". If you put your "module" alongside umbraco (configured through web.config - meaning it will be ignored by the umbraco "runtime"), you won't be able to use the dynamic behaviour of your current umbraco install. How about creating a usercontrol for your "user login" module, and put it on a page inside umbraco (probably a different doc type, different template but setting masterpage to a existing umbraco masterpage? Can create a macro to reference your user login module and add it to your template?
Does that make sense or did I misunderstood your question?
Thanks Dirk for the suggestion. i actually tried using my page as a user control before i posted my question here. For some reason after registering my usercontrol as a macro and putting the .dll in the bin folder it still does not render on the page. It does show up before saving the page, but as soon as i save the page in which i put the user control in only the text is saved (all the text boxes and buttons fail to show up). Is there somethin which i am doing wrong in registering the user control? Any suggestion would help me a lot. Thanks much for your reply
Plugging in Umbraco with a stand alone module
Hi Guys,
I am new to using Umbraco and need suggestions on how to plugin a standalone module to a Umbraco Website. I am trying to create an module where a user can login. It has nothing to do with the rest of the website which is in Umbraco except for the masterpage. The masterpage has macros for dynamic navigation on it, so i guess i cant access the masterpages. The navigation of the webiste is dynamic so the template for the standalone module should also reflect any changes made on the navigation on the Umbraco Module. Can any one of you please suggest the best methods to handle the scenario.
Thanks
naren,
I don't see why you shouldn't add your module to the umbraco website as you need the masterpages and the dynamic behaviour of the navigation in your own "module". If you put your "module" alongside umbraco (configured through web.config - meaning it will be ignored by the umbraco "runtime"), you won't be able to use the dynamic behaviour of your current umbraco install. How about creating a usercontrol for your "user login" module, and put it on a page inside umbraco (probably a different doc type, different template but setting masterpage to a existing umbraco masterpage? Can create a macro to reference your user login module and add it to your template?
Does that make sense or did I misunderstood your question?
Cheers,
/Dirk
Thanks Dirk for the suggestion. i actually tried using my page as a user control before i posted my question here. For some reason after registering my usercontrol as a macro and putting the .dll in the bin folder it still does not render on the page. It does show up before saving the page, but as soon as i save the page in which i put the user control in only the text is saved (all the text boxes and buttons fail to show up). Is there somethin which i am doing wrong in registering the user control? Any suggestion would help me a lot. Thanks much for your reply
Naren
is working on a reply...