This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.
Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.
Before posting questions here you might want to review the developer documentation.
I have developed a custom module, and successfully installed it in the portal. I want this module to appear on all of my pages, and I have tried using the portal:ModuleWrapper control in my layout.master file. However, I can't seem to locate the ModuleId. Looking in the database, in [mp_Modules], I see the module, but plugging in that Id causes a null reference exception. Obviously I'm doing something wrong or looking at the wrong Id.
Thanks, -Damien
Hi Damien,
It should work as long as your module control inherits from SiteModuleControl. I will update modulewrapper so it can work with a UserControl for the next release but currently it only supports SiteModuleControl.
Hope it helps,
Joe
Joe,
Thanks for the quick response. I'm using the Inline code method as shown in your example here: http://www.mojoportal.com/usinginlinecode.aspx. I've tried it with my control and your HelloMojo ASCX control.
Here's my process:
Is there something I'm missing in the code that needs to be added in order for this to work?
Thanks again for your help. -Damien
Sounds like possibly a bug, I have not tried the modulewrapper in a while. I'll investigate as soon as I can.
Best,
I confirm this as a bug. I've fixed it in my copy so it will be fixed in the next release.