Style Bugs

mojoPortal is no longer supported on mono. This forum is here for archival purposes.

This thread is closed to new posts. You must sign in to post in the forums.
6/14/2007 6:14:42 PM
Gravatar
Total Posts 18439

Style Bugs

There are some style bugs running under Mono, primarily in the Menu. Mono doesn't yet support the CSSControlAdapters so the Menu is rendering as nasty nested html tables on Mono while on Windows it renders using the adapter as ul and li elements.

 

6/18/2007 9:56:39 AM
bob
Gravatar
Total Posts 126
YAF developer

Re: Style Bugs

Then you click at the "plus" icon in the tree view menu - nothing happens. If you click at the "minus" one - it works.

 

7/15/2007 7:13:17 PM
Gravatar
Total Posts 92

Re: Style Bugs

Any workarounds for this?  I was going to roll out the new 2.x cvs version this week but ran into lots of problems with the menus.    Nothing looks right.   Everything else seems fine though.

 

7/16/2007 8:09:41 AM
Gravatar
Total Posts 18439

Re: Style Bugs

Hi Richard,

In theory you should be able to workaround this. I think the process would be view the source of the page and see what css classes are being used on the menu rendered as tables and then add css for those to style the tables at the bottom of stylemenu.css in your skin.

I think they will be fixing this in Mono, I've seen some svn committs that look like they are working on support for control adapters.

Joe

7/27/2007 4:50:12 PM
Gravatar
Total Posts 18439

Re: Style Bugs

Hi Richard,

I found a workaround for styling the menu when not using the treeview. If you switch to subblue skin, you will see the menu there is styled ok. I think your skin from your screenshot was based on subblue but with a horizontal menu, you would need to set Orientation=Horizontal on the mojoMenu in App_Themes/default/theme.skin

There are actually 2 issues at hand, the first is that ControlAdapters are not working so the menus render as tables. The second is that the VirtualPathProvider is not working on Mono so when you try to style the menu or the treeview with theme.skin file, it does not use the one from your skin folder, instead it uses theme.skin from App_Themes/default/theme.skin so you have to make your customizations there to style the menu. I have updated App_Themes/default/theme.skin to look ok with subblue skin but you could comment out the settings and then modify to suit a different skin. css files still come from the skin folder as no virtual path provider is needed to make that happen.

Another side effect of this VirtualPathProvider not working is if you customize the App_Themes/default/theme.skin file, any child sites will also use this theme so unintended style results may occur in child sites.

These changes should be in svn trunk within the next few hours and should at least provide a little better style.

Thanks,

Joe

7/28/2007 12:02:25 PM
bob
Gravatar
Total Posts 126
YAF developer

Re: Style Bugs

Hi, Joe.

I've downloaded the trunk files some hours ago. So I can't see all bugs as yet. As to styles...

Now it looks great with the subblue skin. Though, if you have a flash nearby the menu subitems can't overlap it. But it's a minor problem.  I hope that  the ASP.NET 2.0 features will be implemented in the next Mono release.

 

Thanks,  bob.

 

7/30/2007 1:49:04 PM
Gravatar
Total Posts 92

Re: Style Bugs

That seemed to solve of the menu problems.    The only glitch now is there is a large amount of space at the bottom of the nested menus and an arrow out all by itself.   I'll send you a screenshot in email Joe.

At least I can get the company portal layout completed and get core people to start adding content.

Thanks Joe.

 

7/30/2007 2:32:20 PM
Gravatar
Total Posts 18439

Re: Style Bugs

Hmm, that is strange, the arrows appear to be for vertically scrolling, not indicators for sub menus, I've never seen that before, not sure if its a Mono bug or some setting on the theme that might affect that.

Joe

7/31/2007 8:35:44 AM
bob
Gravatar
Total Posts 126
YAF developer

Re: Style Bugs

All the tested skins work fine in Mozilla Firefox. As to Opera and Konqueror there is a major problem. The portal layout looks fine in Opera, there are problems with it in Konqueror. But there are 'false' items with 'image' label in menus and the nested ones too.

I test sites with 4 browsers: IE, Firefox, Opera, Konqueror and Safari sometimes. I guess that adapting the portal for all browsers will be impossible, 

but trying to move in the direction is quite possible.  

 

 

7/31/2007 10:33:47 AM
Gravatar
Total Posts 18439

Re: Style Bugs

Hi Bob,

To help figure out if its Mono rendering or issues in mojoportal itself, have a look at this site in Opera and Konquerer and let me know any issues you see. This site is hosted on Windows so if there are less issues then the issues are Mono specific. If you see issues on this site I can try to fix them first. If the issues only appear on Mono then we need to figure out how to make small test cases that show the differences in rendering between windows and mono and submit bug reports to the mono team.

Probably most of the issues are due to lack of support for the control adapters.

Thanks,

Joe

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