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