close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Styles not showing up in list.

Thread began 2/24/2010 12:22 pm by Mikel Jones | Last modified 3/26/2010 1:26 pm by Mikel Jones | 3300 views | 13 replies

Mikel Jones

Styles not showing up in list.

I went through the forum and found all the threads I could on how to set up the editor so it will show my custom css styles in the drop down list of the editor.

I have already done the following...

I went into the fckeditor.html file and removed the following line so my styles would show up correctly in the editor.
// <meta http-equiv="Cache-Control" content="public">

I can edit content areas and the data saves to the db and shows on my page correctly now.
I set up the editor so I can have images uploaded and they show up correctly in the editor and on the page now.
I edited the css style file and put several styles I want to display in the editor in the drop down list. I also removed the red and blue styles that were in there already.

I went into the wizzard and configured the editor so it would see my css file...

Editor Preset >> Customize >> Styling tab

I then set the Editor css = [my css file]
Body class = [my body style]
I then selected all the styles listed in the edit box and clicked ok.
I saved the style as a preset and clicked ok twice to exit the wizzard.



File data from the edtor config files...


*****
cmstest.php

<?php
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("RapierSoftContent", "../../HTMLEditor/", "945px", "600px", "Default", "../custom/cmstest_RapierSoftContent1.js", "");
?>


*****
cmstest_RapierSoftContent1.js

FCKConfig.XMLFullName = 'RapierSoft';
FCKConfig.XMLFileName = 'RapierSoft.xml';

Where is this RapierSoft.xml file located? I could not find it on my system...
Also, what is the file for? What is it supposed to contain?

...

The relative paths are correct and the following files exist.

FCKConfig.EditorAreaCSS = '../../_css/CMS/cms_syle.css';
FCKConfig.BodyClass = 'BodyText';
FCKConfig.StylesXmlPath = '../custom/contents_update_RapiersoftContentStyles1.xml';


*****
The xml file shows the correct styles but not the div definitions...

contents_update_RapiersoftContentStyles1.xml

<Styles>
<style name="BodyText" element="span" >
<Attribute name="class" value="BodyText" />
</style>
<style name="Headline" element="span" >
<Attribute name="class" value="Headline" />
</style>
<style name="SubHeader" element="span" >
<Attribute name="class" value="SubHeader" />
</style>
</Styles>


The HTML Editor is found at: HTMLEditor/



When I go to the page...

cmstest.php


The only style that shows up in the list is the old "red" style and it is not even listed in the xml or css file anymore as I have already removed it.


What am I doing wrong?





And while I have you here...

Can you point me at some information that shows how to set up custom divs in the format drop down and div insert dialog?

I would like to have some pre formated divs in the list when I insert a div so I can just select the div type from the list provided. The only way I can get a custom div to show up now is to add the div style to the css file and then hand type in the advanced settings div ID when I create the div. No div styles so up in the div style list at all currently.



..

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