Content Placeholders

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
7/29/2012 3:05:06 AM
Gravatar
Total Posts 2

Content Placeholders

I am new to mojoPortal, having been looking around for this kind of product for a while. Maybe its my inexperience with the product, but the biggest limitation for me is being limited to 5 content placeholders in a template.

I need to keep the editing side as easy as possible for my customers, so for example having the option of adding additional content placeholders in a footer or header would be good. At present these would have to be programmed into that specific template via a user control.

I have used DotNetNuke Community Edition. About the only good thing I can say about that experience is the feature I am talking about here. You can define multiple rows of content placeholders in the same template, e.g. 2 column, 3 column, 4 column on the same page so you can have say Banner, 4 images underneath, then 2 column content below that. I'm not sure we need to get that carried away but giving the template designer more flexibility would be useful in my view.

7/29/2012 4:20:54 AM
Gravatar
Total Posts 355

Re: Content Placeholders

Actually, using CSS & modules, you can achieve a layout such as you've described. Assign the banner to a top placeholder, 4 HTML modules to the center placeholder, and two more HTML modules in the bottom placeholder, and use CSS to align each module side-by-side, and you'll have the format you're looking for, and your users will still be able to edit as they need to.

7/29/2012 9:00:22 AM
Gravatar
Total Posts 18439

Re: Content Placeholders

While it might be convenient to have lots of placeholders, the result is that pages would be constructed in a way that requires more and more hits to the database to produce the page content. It is much better for performance for a page to have 1 instance of html content feature and do layout inside that content instance (which can be facilitated by the use of content templates where you could have some editable layouts already created for your end users) instead of having 5 different intances of html content feature on the page which would result in 2 hits to the db per instance, one for the content and one for the instance settings. If you need more than one kind of feature on a page then of course you need separate instances of each feature. Having more instances of content placeholders would encourage users to do things that it is better not to do.

Best,

Joe

7/29/2012 10:38:13 AM
Gravatar
Total Posts 2

Re: Content Placeholders

Thanks for the quick replies.

I take the point about database hits, but am less worried about database hits personally, as long as its not too excessive am more interested in everything being clean and elegant. However the reply from IndigoTea is an excellent one that solves half of my problem - presumably I can use a css template to further improve that solution if I needed to.

The other half of my problem (having content sections in footer and or header) I think I can solve in the template by using user controls. Typically I might want to be able to put an advert in the header, and possibly have a site design that has a lot of links to pages in the footer - so need to understand the menu controls fully before I can make decisions on this last point.

 

7/29/2012 8:22:49 PM
Gravatar
Total Posts 355

Re: Content Placeholders

For your header/footer requirements, look at the solution in this article:

http://www.mojoportal.com/same-content-on-all-pages-with-module-wrapper.aspx

For more information on the CSS-layout solution, you can see how it was done in this article:

http://blog.arvixe.com/mojoportal-tip-how-to-break-out-of-the-mold-and-into-the-grid/

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