Admin toolbar switched from new to old style

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.
9/20/2011 1:27:59 PM
Gravatar
Total Posts 18439

Re: Admin toolbar switched from new to old style

sorry should have noticed you posted the version previously. I will investigate it as a bug and see if I can reproduce the problem on my local machine. The reason I asked about the version is because it seems like I remember fixing something like this not long ago. If CombineCss is false it should render all the separate links for the css files but it should resolve the urls correctly even if running in a virtual directory instead of a root site.

I'll post again tomorrow and let you know after I try to reproduce this.

Best,

Joe

9/21/2011 4:05:06 AM
Gravatar
Total Posts 13

Re: Admin toolbar switched from new to old style

Joe,

I made the changes you suggested on the remote site

<add key="CombineCSS" value="true"/>
<add key="MinifyCSS" value="true"/>
<add key="CacheCssOnServer" value="true"/>
<add key="CacheCssInBrowser" value="true"/>

and now there is just the one stylesheet link (apart from the external link for jquery-ui.css), and presumably this links to the combined css file:

<link rel='stylesheet' type='text/css' href='/gowran-demo-1/csshandler.ashx?skin=styleshout-envision&amp;s=1&amp;v=2.3.6.7' />

The good news is that now the New style Admin toolbar is rendered correctly (and those missing Forum icons are also rendered), so that Web.config change appears to have got around the problem.

I re-checked by setting those keys to 'false' again, and then the rendering became incorrect again.

I presume those keys being set to 'false' for the default (out of the box) Web.config file is for the benefit of developers during site development, but as you say, should be set to 'true' before uploading to the production site.

James

9/21/2011 7:29:56 AM
Gravatar
Total Posts 18439

Re: Admin toolbar switched from new to old style

Hi James,

Those settings are set to true by default in the Web.config shipped with mojoPortal. Often people override a few of them in user.config temporarily while designing based on our Skinning Overview article, however one doesn't even need to disable them for designing any more, there is a way to do it with a cookie so it only affects the designer's browser also discussed in the article.

I tested this morning with the latest code on my local machine with a site configured in a virtual directory and it resolves those urls correctly when CombineCss is false. However, I have a vague recollection of fixing that not long ago so it may be that I fixed it after the release of mojoPortal 2.3.6.7. Getting close to anew release now so that will be fixed in the new release.

Best,

Joe

9/21/2011 7:56:10 AM
Gravatar
Total Posts 13

Re: Admin toolbar switched from new to old style

I confess I must have changed those settings to False, triggering that url issue, but it's good to know it's fixed in the next release.

Thanks Joe, I learned some new stuff during the investigation.

Thanks also to Spike.

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