Need to disable left and right panes

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
5/5/2009 7:19:48 AM
Gravatar
Total Posts 12

Need to disable left and right panes

I created some new pages and subpages but in some leaf pages I need to simply present (wide) content. In order to do that I need the left pane and right pane disabled and invisible so that only the center pane is rendered. This would allow my content to occupy the entire page without a left/right column.

I don't see any option to do that. Because of this then my left pane (even though I have not added any content to that pane) shows some soft of link of the page I am viewing, my right pane is empty and my center page (about 800 pixels wide) overflows to the right edge of the page border giving it a horrible look. If I could disable (and make invisible) both the left and right panes I can make it fit as expected.

Am I missing something?

5/5/2009 9:14:09 AM
Gravatar
Total Posts 18439

Re: Need to disable left and right panes

In mojoportal skins the center will fill the whole width if there is no content in left or right and no menu in left or right. So most likely you are using some custom skin and its an issue with your custom skin. Its certainly a skinning issue and not a site administration issue.

If you can produce the symptom you describe on demo.mojoportal.com I will give it a look. 

Best,

Joe

5/6/2009 4:48:38 AM
Gravatar
Total Posts 12

Re: Need to disable left and right panes

It is a standard theme. You can see what I mean with my experiment page at:

http://www.coralys.com/dental-care-and-orthodontics.aspx

As you can see the left side is being occupied by a link to the same page. Mojo does this automatically. The settings for this page are:

Parent Page:  Web Shops
Page Name:   Dental care and orthodontics
Page Title Override: <empty>
Use Url?: <checked>
Url:       ~/dental-care-and-orthodontics.aspx
Menu Icon: Page Icon
Allow Browser Caching?: <unchecked>
Include In Menu?: <unchecked>
Include In Site Map?: <unchecked>
Show Breadcrumbs?: <unchecked>
Show Child Page Breadcrumbs?: <unchecked>
Open In New Window?: <unchecked>
Show Child Pages Site Map?: <unchecked>
Hide This Page From Authenticated Users?: <unchecked>

 

you can also notice that the center pane content overflows past the edge of the "template" rather than expanding the center part.

but as you can see the left pane still shows a link to itself (which is rather unnecessary).

 

5/6/2009 7:29:20 AM
Gravatar
Total Posts 18439

Re: Need to disable left and right panes

Ok, I was able to produce a similar result here and understand what is going on. The problem is that the page is a child page of Web Shops and even though it is not included in the menu it is making room for the menu because it knows that the Web Shops page has children but it doesn't know they are not included in the menu.

I was able to modify the code here to detect that particular scenario and not make room for the menu but it isn't going to handle every possible strange combination. Like if Web Shops has other child pages that are included in the menu then the menu will be shown even with my fix. Also if you create child pages below a page and then you set the parent page as not included in the menu then the children pages will also not appear.

So there will be a solution for this in the next release that should solve this specific issue. In the menatime I would either include the menu or move the page up a level so it is in the horizontal menu and has no children. In other words you can make it parent Root and mark it as not included in the menu and it will use the full width.

Hope it helps,

Joe

5/6/2009 10:01:23 AM
Gravatar
Total Posts 12

Re: Need to disable left and right panes

In my scenario these pages (each of the pages under the Web Shops top menu) are leaf pages. That means that they will never have children. As such I  don't need the navigation menu.

Would be handy if when one creates a page one could define whether one wants to disable (not rendered) either the left and/or the right columns. In ASP.NET when you make a panel invisible it is not rendered.

It would also be handy if one could define a bottom area that runs across all three pages and that one could use this area to add content, for example a wide banner or something like that.

In my case the suggestions don't help because I can't place these pages on the top menu so I will have to wait for the release or host them separately from the Mojo Portal (which kind of defeats the purpose of having the portal) :-(

5/7/2009 9:19:27 AM
Gravatar
Total Posts 18439

Re: Need to disable left and right panes

How will the users get to those pages or know they exist if there are no menu links?

If you are not including the pages in the menu then moving them up a level to be rootpages will not affect your menu but will make the layout correct on the pages. The only side effect is it will not highlight the Web Shops page since it is no longer the parent. 

It would also be handy if one could define a bottom area that runs across all three pages and that one could use this area to add content, for example a wide banner or something like that.

It is possible to create skins with 2 extra content regions as documented here:
http://www.mojoportal.com/morethan3contentpanels.aspx

and as seen in the andreasvickland-02 skin and in the ramblingsoul-5contentpanes skin.

Hope it helps,

Joe

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