Problems after update to 2.2.7.9

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
12/7/2008 9:26:24 AM
Nux
Gravatar
Total Posts 183

Problems after update to 2.2.7.9

Hey,

after I have done un update to 2.2.7.9, the wysiwyg editor takes the background of the site in its editable field.
I did the changes for the css, but since it's very difficult now to debug the css's (you can't see which text is from which css!), I changed it back to before.
By doing this, my tabs disappeared in the settings pages . So now I have no tabs and I have a wysiwyg editor that is black since my site is also that way. I have put the body {background} stuff in comments, to check it, without any luck.

I guess there must be a file somewhere, not in css (going back to the old way of working with css didn't help), that is changed, and has effect on this one.

Thanks for any help

Stef

12/7/2008 9:35:13 AM
Gravatar
Total Posts 18444

Re: Problems after update to 2.2.7.9

What I recommend is create a class on your body tag like <body class="pagebody"> in the layout.master and assign the site background to that class in css rather than directly on the body. This will get rid of it in the editor because the page inside the iframe in the editor doesn't have this class on the body.

Hope it helps,

Joe

12/7/2008 9:52:04 AM
Nux
Gravatar
Total Posts 183

Re: Problems after update to 2.2.7.9

Hey Joe,

thanks for your quick reply.
I changed the .master like you told ( I saw this is in the others skins), but I still get this.
But I guess this is because of some cache.

Thanks

Stef

12/7/2008 9:55:38 AM
Gravatar
Total Posts 18444

Re: Problems after update to 2.2.7.9

Yes, the editor background is white when I view it. Its probably browser cached on your end. Navigate away from the site to somewhere like google, then clear the browser cache then visit the site again. I find sometimes clearing the cache doesn't work if the page is still open in the browser, so navigating somewhere else first helps sometimes.

Best,

Joe

12/7/2008 10:04:48 AM
Nux
Gravatar
Total Posts 183

Re: Problems after update to 2.2.7.9

Hmm, I thought that ctrl+F5 in FF is a totally new request. Never had problems with it.

Thanks for your quick help Joe.
That 301 feature is really a . I did the upgrade specially for this one, since google webmaster tools told me of some wrong pages :).

Thanks

Stef

12/7/2008 10:30:44 AM
Nux
Gravatar
Total Posts 183

Re: Problems after update to 2.2.7.9

Very strange situation: after reboot, I still see my background in the editor.

I will let it go like this.

Thanks

Stef

12/8/2008 8:16:15 AM
Nux
Gravatar
Total Posts 183

Re: Problems after update to 2.2.7.9

Joe,

can you explain me what I have to do to keep the old way of working with css and have those tabs in the settings pages?
I can't find any css with those classes in, so don't know where to search.

Thanks

Stef

12/8/2008 8:26:02 AM
Gravatar
Total Posts 18444

Re: Problems after update to 2.2.7.9

Make sure your style.config has this in it like all the other skins do:

<file csswebconfigkey="YUITabCss" imagebasewebconfigkey="YUISkinImagePath">none</file>
<file cssvpath="/ClientScript/oomph/oomph.css" imagebasevpath="/ClientScript/oomph/">none</file>
 

and make sure you have this in Web.config:

<add key="YUIBasePath" value="~/ClientScript/yui-252/" />
<add key="YUITabCss" value="~/ClientScript/yui-252/assets/skins/sam/tabview.css" />
<add key="YUISkinImagePath" value="/ClientScript/yui-252/assets/skins/sam/" />

You can debug the css by manipulting these settings:

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

you have to both clear the server cache by touching Web.config and the browser cache for changes to these settings to take effect.

you can for example set MinifyCss to false, then view the source of the page and grab the full url for csshandler.ashx and paste it into a new browser tab to see the css un minified.

After resolving any problems I recommend set both settings back to true.

Hope it helps,

Joe

 

12/8/2008 8:27:45 AM
Gravatar
Total Posts 18444

Re: Problems after update to 2.2.7.9

Also make sure you uploaded the ClientScript folder during the upgrade as there were changes in the YUI css for the tabs.

12/8/2008 9:49:33 AM
Nux
Gravatar
Total Posts 183

Re: Problems after update to 2.2.7.9

Hey Joe,

I just checked the extra settings in the web.config and played with it, and it is great to be honest.

The only thing that is a minor, is the fact that, if you didn't told me the existence of the extra settings, that i would have changed it back to before.
So is it possible that you modify the text of the "important skin changes" and extend it with the explanation of here?
Cause I can't find it on the site and it would be a pitty that people go back to before because they don't know the whole part.
Hope you understand that I'm asking this to make mojoportal better :)

Thanks again

Stef

12/8/2008 9:56:33 AM
Gravatar
Total Posts 18444

Re: Problems after update to 2.2.7.9

Good point, I just updated the documentation.

Best,

Joe

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