Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorCustom Styles Not Working,  DNN5.2.1Custom Styles Not Working, DNN5.2.1
Previous
 
Next
New Post
1/21/2010 6:55 AM
 

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

 

 

 
New Post
1/21/2010 1:54 PM
 

there seems to be a setting value not correctly being interpreted as a boolean.

do you encounter same issue with en-US language set when saving settings and retrieving it?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/21/2010 1:58 PM
 

there seems to be a setting value not correctly being interpreted as a boolean.

do you encounter same issue with en-US language set when saving settings and retrieving it?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/21/2010 3:09 PM
 

Hello mr. Leopold,

i use only default settings, no changes in web.config or language, en-US  setting, anithyng

clear site instalation, with default skins etc ...

i have use guide from forum, you see in my post anything what i do (cml, css, custom settings) ...

 

 
New Post
1/21/2010 3:24 PM
 

no, there might be an issue with fckeditor provider, not being able to save its setting properly, if in non-US environment.

is your's a new site using latest version of FCKEditorprovider?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorCustom Styles Not Working,  DNN5.2.1Custom Styles Not Working, DNN5.2.1


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out