CSS and body classes.

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Post Reply
Rod

CSS and body classes.

Post 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
westis

Re: CSS and body classes.

Post 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'}
Rod

Re: CSS and body classes.

Post by Rod »

Awesome -- thanks for that.  Missed that in the docs.
iNSiPiD

Re: CSS and body classes.

Post by iNSiPiD »

Cos it's not in the docs.  ;D
Post Reply

Return to “Tips and Tricks”