Do not allow users to use or see Right Panel

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.
11/3/2009 10:15:40 PM
Gravatar
Total Posts 2239

Do not allow users to use or see Right Panel

I have a client requesting that the Right Pane be completely hidden. I know how to hide the actual Right Panel using CSS but I can't seem to find a way to hide the Right Pane option on the 'Page Layout' page.

I think the best solution (for what I am trying to accomplish) is to be able to remove the Right Panel from the layout.master and have the 'Page Layout' page automagically not give users the option of adding content to the pane b/c it isn't in the layout.master. Basically, make the Left and Right panes "optional" like the alt-content panes.

Thoughts?

Thanks,
Joe D.

11/4/2009 6:33:35 AM
Gravatar
Total Posts 18439

Re: Do not allow users to use or see Right Panel

Hi Joe,

I don't think that will work, the 3 main content sections will not disappear from the page layout page and also I think the master page will break if you remove divRight so css is the only way I think it can be done, and then only on the front end. To remove the layout option would require more than just hiding the right section, it would require removing buttons from the middle section that are used for moving items to and from the right.

Couldn't they just make a business rule and agree not to put content on the right? Seems strange to take away flexibility, sooner or later they will ask for the right back again.

One option might be to move the <asp:contentplaceholder ID="rightContent" runat="server"></asp:contentplaceholder> out of divRight and put it in the footer then just hide divRight with CSS. But then the layout page will still seem like its on the right, though the content placed in the right would land at the bottom. Or if not the footer just put it immediately below <asp:ContentPlaceHolder ID="mainContent" runat="server"></asp:ContentPlaceHolder> in divCenter so it will end up as center content if they do put it in the right.

Best,

Joe

11/4/2009 8:58:19 AM
Gravatar
Total Posts 2239

Re: Do not allow users to use or see Right Panel

I agree that they could just make a business rule but they didn't want to because they don't trust the people who will updating the site. I know, that is really strange because why would you allow someone you don't trust to update your site? They asked me to check into seeing if it was possible and I did, that should be enough.

I like your idea of moving the contentplaceholder to the divCenter, that will do just fine. I'm glad you can think out of the box for me. :-)

Thanks for your time!

-Joe D.

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