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 Toolbar Sets & RolesFCK Toolbar Sets & Roles
Previous
 
Next
New Post
9/1/2006 7:11 AM
 

Hi All...

I've modified the fckconfig.js file by modifing existing toolbar sets and thats ok...

I've also modified the fckconfig.js file by adding a new toolbar set and would also like to add roles for it later.

FCKConfig.ToolbarSets["MyToolbar"] = [
 ['Cut','Copy','Paste','-','Print'],
 ['Undo','Redo','-','Find','Replace','-','SelectAll'],
 '/',
 ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
 ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
 ['Link','Unlink','Anchor'],
 ['Image','Table','SpecialChar'],
 '/',
 ['Style','FontFormat','FontName','FontSize'],
 ['TextColor','BGColor','FitWindow'],
] ;

Now what's the next step to make this toolbar load/show into a dnn portal page FCKeditor?

Read threads talking about using JS into the page etc but not sure how's that...

10x

 
New Post
9/2/2006 12:04 AM
 

Good start. You new toolbar is ok. Just be sure to change the ckconfig.js located at

Providers\HtmlEditorProviders\FckhtmlEditorProvider\Custom

And you must clear your browser cache after any change to this file

Next?:

1) Edit your web.config a locate the fckeditor provider config a look for the "AvailableToolBarSets" parameter. Include your new toolbar in the list. Remember that the order that toolbars are defined inside this parameter is the default order to check roles

2) set the DefaultToolbarSet property to your new toolbar name


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post
9/4/2006 4:20 AM
 

Great works fine! Thanks for your help locopon you rock matey!

Also found an interesting property in the web.config...

You can set viewing of the Custom Options Dialog by changing CustomOptionsDialog="Admin" to Host, Admin or None.

 

Thanks!

 
New Post
9/9/2006 8:40 AM
 

Question?  I am new to this editor and my goal is to only allow admin & host to see the link creater & image uploader.  How and were do i set the security role inside the JS to only allow admin users to see these features.

Thanks for any help you can give

Sincerely

Timothy Maler
DNN Wear.com


Tim Maler
 
New Post
9/9/2006 10:53 AM
 
Tim Maler wrote

Question?  I am new to this editor and my goal is to only allow admin & host to see the link creater & image uploader.  How and were do i set the security role inside the JS to only allow admin users to see these features.

Thanks for any help you can give

Sincerely

Timothy Maler
DNN Wear.com


I have been waiting for this ability as well.
There are 11 more optons in the fckconfig.js file to support this. Right now the only way to set these options are globaly for all users.
I have been working on the provider for a while now and believe I have enabled these options to be set by role. It still needs some work but soon as I am done I will post here.


-Dan
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorFCK Toolbar Sets & RolesFCK Toolbar Sets & Roles


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