Editor button

6 posts by 3 authors in: Forums > CMS Builder
Last Post: April 7, 2009   (RSS)

By jenolan - April 5, 2009

I usually use fckeditor not that I am that great modifying it either but.....

What I use a bit is a CSS class to do pull quotes, example http://jlogica.com/Links/AIP_Coupon


<span class=''pullquote">Text here</span>

It leaves the text in the paragraph but also does the nice quote.

What I want to do is add a button to the editor to enclose the select text in the tags and display it differently, just can't work out how to add it to the editor. Can see how to do huge changes but a simple little new class wrapper ..

Ta,
Larry
---



Peace and Long Life

Re: [jenolan] Editor button

By Perchpole - April 6, 2009

Hi, Larry -

CMSB is a wonderful tool - but I don't think we should expect it to do everything at the push of a button!

The look you seek to emulate is just basic CSS. You could achieve the same effect by wrapping your text in a <DIV> tag coupled to the right styles. All you need to do is compile the code and then save it to a text file. Next time you need it just paste it straight into your text and then modify as required.

:0)

Perchpole

Re: [jenolan] Editor button

By ross - April 6, 2009

Hi Larry

Thanks for posting!

CMS Builder does have the option to letting you choose styles for your text instead of using the font and size drop downs.

It runs on a separate stylesheet too so you can have styles in there specific to the content instead of all the styles for your whole site.

Have a read through this forum thread for more details on how to set that up:


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


Keep us up to date with how you are making out :).
-----------------------------------------------------------
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: [Perchpole] Editor button

By jenolan - April 6, 2009

I do it manually now .. I see no reason not to ask if I can do it from within the editor.
---



Peace and Long Life

Re: [ross] Editor button

By jenolan - April 6, 2009

Have a read through this forum thread for more details on how to set that up:


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



Thanks had a browse, I did that mod from reading on the moxie site, problem is that it wants to do 'div' markups. Pull quotes are text that is inline and you put a <span> around it the inline is then duplicated out of line as one of those drop quote thingys.

Might be easier for me to replace the editor :)
---



Peace and Long Life