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 ForumsFCKeditorFCKeditorStyle / Formatting in dropdown boxStyle / Formatting in dropdown box
Previous
 
Next
New Post
3/26/2007 12:28 AM
 

The styles on FCKeditor are defined by two resources.

1) A .xml file containing a list of properties to be applied to some TAGS. The most common way to use this file is the include a CLASS property for some tags with your preferred names for your styles.

2) a .css file including all the lists named in the .xml file as CLASS properties

The FCKeditor provider has two options that control how these files are generated

1) Static: The provider uses the standard .xml and .css files that comes with the editor (xmlstyles.xml and fckeditorarea.css). You can customize the files directly to get your own styles

2) Dynamic: The provider will generate the file based on the styles from the current page (You can specify this option for the .XML and for the .CSS, but the common use is to set both)

3) File: You can select a file under your portal for each file type


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post
3/26/2007 2:31 PM
 

The dynamic option does not appear to be grabbing the styles from the current page. Has anyone experinced this problem and is there a known fix? It works well on my local dev install but not on the testing server...

 

 
New Post
3/31/2007 1:55 AM
 

I am still having problem to 'reproduce' what adrian is looking for. Adrian, if you have found how to do it, please help.

I would like also to implement my own format in the drop down format box. See screen capture. This is where I would like to have my own format... Is it possible ? What should be modified ?

 

Thanks for your help Locopon.
DV

 
New Post
4/1/2007 10:53 AM
 

To my previous question: I would like also to implement my own format in the drop down format box. See screen capture. This is where I would like to have my own format... Is it possible ? What should be modified ?
--> fckconfig.js must be modified !!

But please pease, help me, the following drives me completely CRAZY !!!!
I lost ONE full hour to try modifying the size of my "heading 4" and to try to modify the "default body font size"...
What I would like to do is very simple: modifying the size of body font, and h4...
I know that I need to do it as follows for modifying h4 font-size:
h4
{
     fontsize: 14px;
}


But where, which file ?? This is certainly trivial for 99% of you, but not for me. I am not able to find what should be modify... I have looked (and tried) into:
- portal.css
- skin.css
- default.css
- fckeditorarea.css
- fcktemplates.xml
- fckstyles.xml
- fck_universalkey.css
- fck_internal.css
- fck_editor.css

Without any success... I am just sad! Which one did I forget ? Why not centralising all css into one area ? If there is a trick to do so, please adise, because I am fed-up to take so many time to modify one font size....

DV

 
New Post
4/1/2007 11:34 AM
 

Declic Video

You have two options. Both are to make your style available inside the editor writing area. If you want to make it available outside of the editor, the you may go to the DNN styles somewhere (Portal styles, skins, etc)

1) If your style is already defined in your skin,portal styles, etc. Then you can set the .css file to dynamic and the provider will include it automatically. Also, you need to to set the .XML file to dynamic too. This will allow the provider to generate the .xml file based on the DNN styles on the current page.

2) You need your style to be accessible from DNN (Skin, portal styles ,etc), and when working in the editor, there is another option that is changing the .xml file to FILE and to point this to an already created file including the .xml format needed for FCKeditor. Also, you can change the .css file to FILE and to point to a custom file.

Note: The custom files must be inside the current portal. You can upload them by using the URL control or the file manager. You can name them as you want but the files must preserve format and extension


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorStyle / Formatting in dropdown boxStyle / Formatting in dropdown box


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