Loading Center 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.
12/17/2013 1:12:36 PM
Gravatar
Total Posts 19

Loading Center Content

Hi,

On a base page I use, I have enabled dynamic side content by using LoadSideContent(true, true)

Is there anyway to dynamically load center content?  If there's not a fully dynamic way, how could I hard code a panel in the center section of the ASPX with the Id of the panel and dynamically it load it that way?

Many thanks

Matt

 

 

12/17/2013 1:30:58 PM
Gravatar
Total Posts 18439

Re: Loading Center Content

Sorry but no there is not a way of loading center content on supporting pages. Generally it is expected that if a feature needs a supporting page then it will have its own content in the center, the support for loading the other panels is to help when that goal is to make it more seemless visually with the cms page that contains the entry point of the feature when drilling into the detail views of a content feature.

If you want to show the cms page center content it makes me think that perhaps you should not be using a supporting page at all and should just implement your feature as a cms module so it can load directly on a cms page in any panel along with other center pane content.

Supporting pages should not be that much of a replica of the functionality of the cms page. It also is bad for seo to have content duplicated on multiple urls so main content should really only be on one url. Side panels typically have ads or other things than main content that is not as problematic on multiple urls so it makes more sense to have that on supporting pages.

12/17/2013 1:43:32 PM
Gravatar
Total Posts 19

Re: Loading Center Content

Hi Joe,

Thanks for the reply. I totally see your point I just wanted an easier way to manage things like offer of the week etc  below the page content. That I didn't want to put as a side panel. It's cool though, I can hard code it and manage it that way. 

I did originally do this page as a cms module for this reason, but when I went to SEO friendly URL's it was easier to do it as page and not have to implement the pageid in the saved url.

Thanks for your reply.

Matt

 

 

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