Page 1 of 1

CSS and body classes.

Posted: Thu Nov 24, 2005 11:55 pm
by Rod
We have a number of fairly large sites which use CSS positioned layouts and contextual selectors for image replacement and menu states. We currently assign multiple classes to the body tag like this:



Then, based on CSS selectors, the page is rendered with particular menu states and images.  Is there better way of setting these values using the editor. This actually works, but it displays a full FCKeditor instance for each content block:



so the question is, is there a better way to do this or a way to use configure plain text edit boxes for content blocks such as this one? Any suggestions will be much appreciated.

TW, did I mention that CMSMS is brilliant?  Thanks!

Rod

Re: CSS and body classes.

Posted: Fri Nov 25, 2005 12:00 am
by westis
Hi Rod,

From 0.11 beta5 you can use this to get plain text in a content block:

Code: Select all

{content block='name' wysiwyg='false'}

Re: CSS and body classes.

Posted: Fri Nov 25, 2005 2:59 am
by Rod
Awesome -- thanks for that.  Missed that in the docs.

Re: CSS and body classes.

Posted: Tue Dec 13, 2005 1:35 am
by iNSiPiD
Cos it's not in the docs.  ;D