rightside div styling

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.
4/2/2009 8:42:24 AM
Gravatar
Total Posts 51

rightside div styling

Hey Joe -

another strange little bug, I think.  I'm working on styling content in the .rightside column.  I'm applying a bg and 1px border to everything (so, everthing in a .panelwrapper class.)

I've got a site statistics module in there.  If I have the graph set to display, everything looks fine.  But if I turn it off, it looks like the trailing </div> is missing, so the .panelwrapper div closes too soon (ie - if I display online members, the online members are sitting outside the div)  ...I could be doing something wrong here I guess, but since it works with the graph in there, I think it's just a closing div tag issue.

4/2/2009 8:48:55 AM
Gravatar
Total Posts 18444

Re: rightside div styling

Check it with the w3c validator, if its missing a closing tag it won't validate.

http://validator.w3.org/

applying a border can affect positioning in some browsers.

Hope it helps,

Joe 

4/2/2009 10:48:45 AM
Gravatar
Total Posts 51

Re: rightside div styling

It didn't pop in the validator, and I reviewed the html and it looks correct, so I'm not sure what's going on exactly, but it's a x-browser thing.  Ultimately, it doesn't matter, I didn't really want the CSS to hit the stats module anyway, so I just stepped the CSS down another level and am applying it to each module I want styled this way (the better way to do it in the first place, I was just being lazy...)

this isn't the right board for this, I know, but I need a way to change the link text for the member list.  I don't care about the actual name of the .aspx page, but I want the link to say 'Employee List' instead of 'Member' ...where is this being assigned?  I don't see it in layout.master or web.config...

Thanks Joe!

4/2/2009 1:14:45 PM
Gravatar
Total Posts 18444

Re: rightside div styling

The text for that link comes from resource files so it can be localized.

I've just implemented a config option to override it so it can be customized rather than localized. In the next release you wil be able to add this to Web.config or user.config

<add key="MemberListOverrideLinkText" value="Employee List" />

Its in svn trunk and will be in the next release.

Alternatively, for an immediate solution, you could just view the rendered source of the page grab the markup for the li and a tags containing the link and paste it into your layout.master in place of the <portal:MemberListLink id="MemberListLink" runat="server" RenderAsListItem="true" />, then edit the text for the link.

Hope it helps,

Joe

 

4/2/2009 1:20:53 PM
Gravatar
Total Posts 51

Re: rightside div styling

Brilliant, that works perfectly Joe, you rock!

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