Archive for the 'quick tips' Category

Forcing mosCE to not show template background color in WYSIWYG editor

Thursday, September 21st, 2006

JCE EditorLet’s say you’ve got a beautiful template that you’ve created, and it has a bright orange background. Of course, the text area itself is white, but the body tag has a background color of orange associated with it. Well, if you want to use the mosCE editor for Joomla (our favorite editor by far, and its younger brother JCE), and you want your administrators to be able to use the custom styles in the dropdown menu provided in the mosCE toolbar, you need to tell mosCE configuration to not override your template’s CSS.

This is problematic though, because now mosCE is going to make your WYSIWYG background the same color of the body tag in your template: bright orange! Before your administrator goes crazy trying to type white text on an orange background, PICnetter Chris Garvis found an awesome solution: add the following to your template_css.css file:

/* Style of mosCE editor */
body.mceContentBody {
background-color: #FFFFFF !important;
background-image: none;
}

Viola, your editor now has a nice white background to drop your text on.

Give that category some content if you want to see a description

Thursday, September 21st, 2006

After a few minutes of banging heads against walls trying to determine why a blogcategory was not showing a category’s beautiful description we’d created for it, we determined that in order to show category descriptions in Joomla, you need to have at least one item in the category.

Give your category some content articles, and it will give you a description.