I can't set custom styles
Editor is not loading Styles and there was exceptions, please what to do ...
my fck.xml from dotnetnuke forum guide:
<?xml version="1.0" encoding="utf-8" ?>
<Styles>
<Style name="Image on Left" element="img">
<Attribute name="style" value="padding: 5px; margin-right: 5px" />
<Attribute name="border" value="2" />
<Attribute name="align" value="left" />
</Style>
<Style name="Image on Right" element="img">
<Attribute name="style" value="padding: 5px; margin-left: 5px" />
<Attribute name="border" value="2" />
<Attribute name="align" value="right" />
</Style>
<Style name="Title" element="span">
<Attribute name="class" value="Title" />
</Style>
<Style name="Topic" element="span">
<Attribute name="class" value="Topic" />
</Style>
<Style name="Custom Bold" element="span">
<Attribute name="style" value="font-weight: bold;" />
</Style>
<Style name="Custom Italic" element="em" />
<Style name="Title" element="span">
<Attribute name="class" value="Title" />
</Style>
<Style name="Code" element="span">
<Attribute name="class" value="Code" />
</Style>
<Style name="Heading H1" element="H1" />
<Style name="Heading H2" element="H2" />
<Style name="Custom Ruler" element="hr">
<Attribute name="size" value="1" />
<Attribute name="color" value="#ff0000" />
</Style>
</Styles>
my fck.css and portal.css from dotnetnuke forum guide:
body, td
{
font-family: Verdana, Sans-Serif;
font-size: 13px;
}
.Title
{
font-family: Ariel, sans-serif;
font-size: 16px;
font-weight: bold;
color: red;
}
.Topic {
font-family: Ariel, sans-serif;
font-size: 14px;
font-weight: bold;
color: red;
font-style: italic;
}
.Bold
{
font-weight: bold;
}
H1 {
font-family: arial, sans-serif;
font-size: 1.7em;
font-weight: bold;
color: #006699;
}
H2 {
font-family: arial, sans-serif;
font-size: 1.3em;
font-weight: bold;
color: #006699;
}
my custom editor settings from dotnetnuke forum guide:
custom xml: Portals/mysite/fck.xml
static
custom css: Portals/mysite/fck.css
static
i have try with: dafeult yes no
HTMLEncode Output:
Reverse HTML encode output:
I have clear cache after refresh, restart application etc ...
my exception:
AssemblyVersion: 5.2.1
PortalID: 1
PortalName: MySyte.
UserID: 1
UserName: host
ActiveTabID: 143
ActiveTabName: Letak
RawURL: /Letak/tabid/143/ctl/Edit/mid/481/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://mysite
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 GTB6 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 96679916-5c59-42e7-8249-6c7ce8c20be0
InnerException: Error loading FCK setting (Reverse HTML Encode output)
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Boolean.Parse
StackTrace:
Message: System.Exception: Error loading FCK setting (Reverse HTML Encode output) ---> System.FormatException: String was not recognized as a valid Boolean. at System.Boolean.Parse(String value) at DotNetNuke.HtmlEditor.FckHtmlEditorProvider.Fckeditor.LoadFCKCTLSettings(Boolean mAdmin) --- End of inner exception stack trace ---