Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued Products: Page Publisher:
Text

 

 


Nn82cC
New User

Dec 9, 2005, 9:02 AM

Post #1 of 2 (1037 views)
Shortcut
Text Can't Post

We are trying to figure a way to set-up the wysiwg editor to only allow our clients to make certain changes to the text. We only want them to be allowed to change Bold, Italic, and the gerneral text...not size or font type...Help


MikeB
Staff / Moderator


Dec 10, 2005, 11:20 AM

Post #2 of 2 (1013 views)
Shortcut
Re: [Nn82cC] Text [In reply to] Can't Post

Hi,

Thanks for the post! Smile

The WYSIWYG editor used in Page Publisher isn't something we actively offer a lot of support for. That said, I've taken a quick look at the .js file used for this and it should be a pretty quick fix to remove the tools that you don't want to show up.

You'll just want to open up /pp/images/htmlarea/editor.js in an HTML/Text editor of your choice and look for this block of code:


this.toolbar = [
['fontname'],
['fontsize'],
// ['fontstyle'],
//
['bold','italic','underline','separator'],
// ['strikethrough','subscript','superscript','separator'],
['justifyleft','justifycenter','justifyright','separator'],
['OrderedList','UnOrderedList','Outdent','Indent'],
['linebreak'],
['forecolor','backcolor','separator'],
['HorizontalRule','Createlink','InsertImage','InsertTable','htmlmode','separator'],
// ['custom1','custom2','custom3','separator'],
['popupeditor']];


This is the code that outputs all of the buttons that your users can use. So, for example, you could just modify this line from the above code:

['fontname'],

So it looks like this:

[],

From there, the ability to choose the font type will no longer show up. I'd recommend making a backup of this file before you make any changes to it.

I hope this helps and if you have any other questions, just let me know! Smile

Cheers,
Mike Briggs - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4