Formatting text with a CMSB wysiwyg

5 posts by 3 authors in: Forums > CMS Builder
Last Post: March 16, 2009   (RSS)

Hi, there.

I have a client's site already set up with CMSB, and they can update the table on this page using the wyswyg editor: http://www.bikramyogawhiterock.com/scheduleDetail.php.

I set up a <p> tag class so that the text in the table should appear smaller than a standard <p> tag, as can be seen on this example: http://www.commonsensedesign.net/extranet/bikram/schedule.shtml. However, the text that is input through the CMSB wysiwyg editor is changing this to the standard <p>.

This is an example of what the code looks like for a table cell in the calendar:

<P CLASS="pScheduleDetails"><?php echo $scheduleRecord['monday_row_1'] ?></P>

Does anyone know how I can get the smaller class of <p> to override what CMSB is generating? I have to use the wysiwyg field rather than a plain textbox so that the client can add links where necessary.

Thanks!
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [Dave] Formatting text with a CMSB wysiwyg

Hi, Dave.

>>You could enable the styles pulldown in the wysiwyg so the end-user could select the pScheduleDetails from the pulldown instead of font size/face and apply it as needed. <<

This seems to be the most feasible option, as the client will probably be typing straight into the fields, rather than copying and pasting. Please can you tell me how to add pScheduleDetails to the pulldown menu?

Thanks,
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] Formatting text with a CMSB wysiwyg

By ross - March 16, 2009

Hi Nigel

Check out this tutorial:


http://www.interactivetools.com/forum/gforum.cgi?post=58380#58380


It will go over how to enable your style drop down.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] Formatting text with a CMSB wysiwyg

Thanks, Ross.
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net