Custom Module ASPX site showing portal module content

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.

This forum is for discussing mojoPortal development

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.

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.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/6/2010 5:17:57 PM
Gravatar
Total Posts 10

Custom Module ASPX site showing portal module content

Not sure if this is possible or how to do this, my initial attempts did not work.

What I want to do is this:

  • Manage some ad hoc content in an HTML module in the portal. 
  • Display this content in a second instance of this HTML module in an aspx page that is part of a custom feature in the portal built by me.

Is this possible?

5/7/2010 2:05:42 PM
Gravatar
Total Posts 18439

Re: Custom Module ASPX site showing portal module content

Hi Steve,

You would have to know the module id of the Html content instance and then you could retrieve it using the Html content business object. Though I don't really recommend doing this because the Html feature will change over time and break your code. It is better if your custom feature can be completely self contained so that it exposes its own editor and manages its own content.

There is a ModuleWrapper control in mojoPortal that you "could" put on your custom page and set its ModuleID to the moduleid of the html and it will load the html feature on your page. I can't promise it will work exactly as you want but you might take a look at it.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.