Left and right panels are inconsistent with generating css class names.

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/11/2009 10:54:13 PM
Gravatar
Total Posts 1

Left and right panels are inconsistent with generating css class names.

Given the following snippet of layout.master:

<asp:Panel ID="divLeft" runat="server" Visible="true">
    <portal:PageMenu id="PageMenu1" runat="server" UseTreeView="true" TreeViewShowExpandCollapse="false" />
    <asp:contentplaceholder ID="leftContent" runat="server" />
</asp:Panel>
<asp:Panel id="divRight" runat="server" visible="True">
    <asp:contentplaceholder ID="rightContent" runat="server" />
</asp:Panel>
<asp:Panel ID="divCenter" runat="server" Visible="true">
     <portal:Breadcrumbs id="Breadcrumbs" runat="server" />
     <asp:ContentPlaceHolder ID="mainContent" runat="server" />
</asp:Panel>
 

And given the any of the following 3 scenarios:

  1. Page is rendered with content only in 'divCenter'
  2. Page is rendered with content in both 'divLeft' and 'divCenter'
  3. Page is rendered with content in both 'divRight' and 'divCenter'

if 'divLeft' is generated, it include the class name 'leftside' and if 'divRight' is generated it includes the class name 'rightside'.

however given a 4th scenario

  • Page is rendered with content in all 3 panels

both 'divLeft' and 'divRight' is rendered without any class names at all, making skining a little more difficult.

 

I also make a request for an option in mojoPortal to completely disable an indiviual panal, such that if I want a 1 or 2 column site I don't have to worry about people screaming at me wondering why no content that they added to the right panel is displaying in their browser when is set "ctl01_divRight { display:none }" in the skin's stylesheet.

 

6/12/2009 6:07:41 AM
Gravatar
Total Posts 18439

Re: Left and right panels are inconsistent with generating css class names.

Hi,

There is no bug in any included mojoportal skin. All the included skins adapt from 1 to 3 column layout according to whether content or a menu exists in those columns.

Sounds like you have customized it into not working correctly.

Joe 

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