Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Is it possible to use other fonts ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedIs it possible to use other fonts ?

 Post Reply Post Reply Page  <12
Author
ericl View Drop Down
Newbie
Newbie


Joined: 17 February 2005
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote ericl Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2005 at 6:54am
Hi,
 
Your solution of editing the 'RTE_iframe_select_font.asp' file looked perfect to me.  It looked simple anc would definitely solve my problem, I think:  I just need to add a new font in the RTE Font Combo Box, that's all.

The only problem is that I do not have the RTE_iframe_select_font.asp in my install of WWF.

What should I do to get it, please?
Should I upgrade to another version of WWF?
Or can I upgrade to another version of RTE without upgrading WWF?
If yes, which version: 2.0, 3.0Beta?

Please help.

Thanks.
 
Eric

 
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2005 at 7:22am
Sorry, I thought you were talking about the stand-alone rte, not the rte in the forum.
 
For the rte in the forum, you need to either change and existing font or add a new one in two types of places - where the font is presented as an option, and where the option is expanded into code.
 
Files You'll need to change are...
 
forum_codes.asp
admin/functions/functions_format_post.asp
functions/functions_format_post.asp
functions/functions_edit_post.asp
includes/message_form_inc.asp
includes/RTE_toolbar_1.asp
 
That's for the rte in forum version 7.9

Lead me not into temptation... I know the short cut, follow me.
Back to Top
ericl View Drop Down
Newbie
Newbie


Joined: 17 February 2005
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote ericl Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2005 at 7:31am
Hi,
 
I have found how to do it.  Don't take more of your time to answer these questions.

One needs to simply edit the RTE_toolbar_1.asp file.

I made the following change (added the bolded line):
 
If blnFontType Then
 Response.Write(vbCrLf & "             <select id=""selectFont"" name=""selectFont"" onChange=""FormatText('fontname', selectFont.options[selectFont.selectedIndex].value); document.frmAddMessage.selectFont.options[0].selected = true;"">" & _
 vbCrLf & "              <option value=""0"" selected>-- " & strTxtFontTypes & " --</option>" & _
 vbCrLf & "              <option value=""Arial, Helvetica, sans-serif"">Arial</option>" & _
 vbCrLf & "              <option value=""Times New Roman, Times, serif"">Times</option>" & _
 vbCrLf & "              <option value=""Courier New, Courier, mono"">Courier New</option>" & _
 vbCrLf & "              <option value=""Verdana, Arial, Helvetica, sans-serif"">Verdana</option>" & _
 vbCrLf & "              <option value=""APLPLUS, Verdana, Arial, sans-serif"">APLPLUS</option>" & _  
 vbCrLf & "             </select>")
End If
 
Thanks for all your answers.
Eric
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.