close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Editor Styling

Thread began 4/23/2011 11:38 pm by Lee Firth | Last modified 4/25/2011 8:22 am by Ray Borduin | 1883 views | 4 replies |

Lee Firth

Editor Styling

I had a client who was trialing inContext editing and as Adobe pulled the rug from under us on that one, I thought that I would give PowerCMS a go. Installed without a problem, but I'm wondering how to get the editor window display the styles like it is in the website. I've tried applying the stylesheet to the admin_cms/contents_update.php file but the styles come through everywhere but in the editor window. As an example of what I mean, the following is the html code:

<h1><img alt="" src="images/arrow_h1.gif" width="14" height="13" />&nbsp;POS Solution Specialists</h1>

<p>Harris Data Systems was Established on the Gold Coast in 1993. Since then it has changed the way businesses operate, making them more efficient and increasing probability by means of reliable, affordable and user friendly Point Of Sales Equipment right here in Australia.</p>

<p>Harris Data Systems is 100% Australian Owned with it&#8217;s &nbsp;Head Office at West Burleigh Heads and&nbsp; public offices across Australia and New Zealand. As a team Harris Data Systems has evolved into one of the Gold Coast&#8217;s leading authorised representatives for manufacturing partners allowing consumers to have the best choice of quality products for their business.</p>

<p>With over&nbsp;hundreds of client sites alone on the Gold Coast, in the Club, Retail and Hospitality Industries Harris Data Systems is committed to delivering high quality industry products with the best advice and guaranteed efficient friendly service support. Over 28 years Industry experience and 17 years extensive local market knowledge Harris Data Systems has well deserved the reputation of being the most honest and reliable point of sale solutions specialist.</p>

The attached file website.jpg shows how it is displayed on the website and the file editor.jpg is how it displays in the editor.

Sign in to reply to this post

Ray BorduinWebAssist

Add these lines to the content_insert and content_update page where the editor is created:


$CKEditor_config["contentsCss"] = array("../[your css page].css");
$CKEditor_config["bodyClass"] = "[wrapper class if necessary]";


That will allow you to set the style to display inside the editor.

Sign in to reply to this post
Did this help? Tips are appreciated...

Lee Firth

Thanks Ray, works great. Quickly answered as always.

Sign in to reply to this post

Lee Firth

Editor control styles

I've run into a problem that is illustrated with the attached image. How do I remove parts of the styling for the controls? Specificaly the drop down list for the font size. Firstly it isn't vary visible as the text is black on dark brown, I would have thought that it would take on the list styling as in the content which is white. Also how do I remove the bullet image?

Sign in to reply to this post

Ray BorduinWebAssist

Do you have a url where I can view the page? I'll open a support incident so that you can share the url and login information with me privately. That will allow me to take a look and advise what style changes you should make.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...