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 ForumsFCKeditorFCKeditorFCK custom css classes?FCK custom css classes?
Previous
 
Next
New Post
1/4/2010 11:18 PM
 

I have found where you inside fckconfig.js can declare custom formats that will show in the html file like style="" attributes

FCKConfig.CustomStyles =
{
    'Red Title'    : { Element : 'h3', Styles : { 'color' : 'Red' } },
    'White Title'    : { Element : 'h3', Styles : { 'color' : 'white','font-family' : 'Trebuchet MS' } },
    'White paragraph'    : { Element : 'P', Styles : { 'color' : 'white','font-family' : 'Trebuchet MS','font-weight' : 'bold' } }
};

 

 

but I am looking for the place in the fckcustom where you declare your custom css classes?

 
New Post
1/5/2010 5:53 AM
 

you can apply a custom CSS file to the editor area by entering advanced Editor Options beneath the editor, select proper scope and in section editor area select either default file, apply portal css or a custom css file. Same goes for fckStyles in siubsequent section.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/5/2010 10:26 PM
 

is it under "List of available styles for the editor" or under "Edito area css" you add your custom css classes?

and added to that there is an option "style list generation mode" [Static | Dynamic | Url] which does seme to work the way I want to

under "Edito area css" it says the similar "CSS generator mode" with the same options [Static | Dynamic | Url] ?

have been playing around with these settings but it seems very hard to make it work in an easy way?

 
New Post
1/5/2010 11:19 PM
 

I have found my solution in the file [fckstyle.xml] where you add an element :

 <Style name="AcuriaWhite" element="SPAN">
  <Attribute name="class" value="AcuriaWhite" />
 </Style>

in this way you can add the class AcuriaWhite to your skin and the editor can select the custom css classes you want him to use ...... the only drawback is that the editor does view the design that the css class AcuriaWhite contains inside the fckeditor itself ... but for us it is a very minor drawback

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorFCK custom css classes?FCK custom css classes?


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