Tree View troubles

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.
7/27/2007 8:53:29 AM
bob
Gravatar
Total Posts 126
YAF developer

Tree View troubles

As I had written 18.06.2007 9:56:39 in Style Bugs thread there was a problem with tree view then I clicked on the "plus" sign. Now it doesn't work at all as to subtrees. The plus sign disappears and I can't see subtrees at all.

Happyly I can still go to the corresponding parrent page.... Even though without menu styles the portal is rather ugly, I guess it would be really more usable with the problem solved.

P.S. Theoretically,  it  can be my fault with unproper db upgrading. 

 

7/27/2007 2:23:00 PM
Gravatar
Total Posts 18439

Re: Tree View troubles

I'm looking into this now, so far by disabling populate on demand I can get it to expand the treeview by clicking the plus, however it doesn't seem to select the curent page in the menu as it does on windows, so if I create a page named Fun under the Home page, I can click the plus to show the Fun page, but when I click the link for the fun page the menu is collapsed again even though I'm on the Fun page. I'm still investigating but at least I can get hte tree to expand, I will commit that fix to trunk tonight and hopefully more fixes. All works fine on windows. I thought this was working before on Mono, but maybe not.

Joe

7/27/2007 4:47:02 PM
Gravatar
Total Posts 18439

Re: Tree View troubles

I will be commiting to trunk in about an hour the fix to be able to expand the treeview. It still does not select the current page.

On another note 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.

There are actually 2 issues at hand, the first is that ControlAdapters are not working so th emenus 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 results may occur in child sites.

Again, these changes should be in svn trunk within the next few hours.

Thanks,

Joe

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