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

Home: Discontinued Products: Page Publisher:
Default Font In Editor

 

 


torweb
Novice

Jan 12, 2006, 3:02 PM

Post #1 of 5 (1404 views)
Shortcut
Default Font In Editor Can't Post

Is it possible to setup a default font within the Editor. My client will usually use Times Roman, however the font always comes up Verdana.

Thanks in advance

Tom


MikeB
Staff / Moderator


Jan 13, 2006, 9:52 AM

Post #2 of 5 (1387 views)
Shortcut
Re: [torweb] Default Font In Editor [In reply to] Can't Post

Hi Tom,

Thanks for the post! Smile

To change the default font that is used by Page Publisher you'll just want to make a quick change to the JavaScript file that controls the WYSIWYG editor.

You'll want to open up /pp/images/htmlarea/editor.js and find this line of code:

this.bodyStyle = 'background-color: #FFFFFF; font-family: "Verdana"; font-size: x-small;';

You can just make a quick change to this line so it will look like this:

this.bodyStyle = 'background-color: #FFFFFF; font-family: "Times New Roman"; font-size: x-small;';

From there, if you refresh your browser you should be able to see that the WYSIWYG editor will now use Times New Roman as it's default font.

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.


torweb
Novice

Jan 13, 2006, 10:01 AM

Post #3 of 5 (1384 views)
Shortcut
Re: [MikeB] Default Font In Editor [In reply to] Can't Post

Thanks Mike...Worked great...

Tom


torweb
Novice

Jan 13, 2006, 12:22 PM

Post #4 of 5 (1376 views)
Shortcut
Re: [torweb] Default Font In Editor HELP! [In reply to] Can't Post

Mike...

I thouhgt everyhting was working fine, but when I came back later and restarted the application, I'm getting a Java error and my editor will not display any fonts. Things have been working great for the last month...what did I do.

I'm attaching an image of the Java error...

Thanks for any help..

Tom




torweb
Novice

Jan 13, 2006, 12:33 PM

Post #5 of 5 (1374 views)
Shortcut
Re: [torweb] Default Font In Editor HELP! [In reply to] Can't Post

I was able to repair this by restoring the original .js file I had before modifying it, however when I do exactly as instructed by your post, there is still no effect on the default font.

I don't mean to over-focus on this issue as everything is working great again...

Tom

 
 
 


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