close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

CSS Styles Drop Down

Thread began 3/19/2010 8:40 am by phil.evans372967 | Last modified 5/19/2010 2:55 pm by phil.evans372967 | 1239 views | 7 replies

neilo

Excuse the butting in, - just a couple of thoughts,

Hi Phil,

Looking at your news_Update_strap1.js, it doesn't look as if your added styles are being recognised. You would typically expect to see changes that indicate that the added styles have been recognised by the iRite or HTMLEditor.

The first indication would be immediately after the remarked out opening '// Custom configuration . . .' line, showing the custom configuration XML details, something like:

// Custom configuration for iRite
FCKConfig.XMLFullName = 'Advanced Manager Enabled (custom)';
FCKConfig.XMLFileName = '(custom)';



The other indications would be that three lines at or near the end of the javascript should show the relative paths to your css and xml files, again something like:

FCKConfig.EditorAreaCSS = '../../css/styles.css'; // relative to fckeditor/editor/fckeditor.html
FCKConfig.BodyClass = 'bodyCMS';
FCKConfig.StylesXmlPath = '../custom/news_Update_your_custom_instance_name1.xml'; // relative to fckeditor/editor/fckeditor.html



(The middle line would refer to a style from your css that you specified while adding styles in the editor instance (if you did) that reflect your site's body styles).

[Also, one thing that escaped me for a while was that - although my styles showed up in the 'Available styles' window - I didn't realise that I had to actually select them (so they were highlighted blue) before clicking the OK button.]

When you customise an Editor instance, a new xml file is created in the 'custom' folder, its name incremented by 1 (each time the instance is reconfigured). If your styles were added, they will each have a new node with their values in the new xml file. Are they showing up in your new custom/your_new_xmlfile(n).xml file?

Hi Dorothy,

Is your Editor instance one that you've added to a form, or is it part of a WebAssist solution (PowerCMS, PowerStore)? Do your styles show up in your xml file, and do the lines in your javascript file look a bit like the examples above?

Perhaps if you could (both) also post links to your current (custom/) javascript and xml files, there may be more to go on.

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...