Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  Java editor for Mac users
Previous Previous
 
Next Next
New Post 12/28/2005 6:06 AM
User is offline soft tester
18 posts
10th Ranked


Java editor for Mac users 

Hi,
In my situation I have a control that wraps Java based editor. So when Mac user requests page then instead regular editor, Java based editor will come up. I could use a bit of help in figuring out where would I code logic based on Provider model to allow that flexibility....

thanks

S Tester

 
New Post 12/28/2005 6:11 AM
User is offline Michael Flanakin
994 posts
www.michaelflanakin.com
7th Ranked




Re: Java editor for Mac users 
When you say, "Java", do you mean a Java applet or JavaScript?

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
New Post 12/28/2005 9:47 AM
User is offline soft tester
18 posts
10th Ranked


Re: Java editor for Mac users 
We are using Sferyx Java Applet HTML Editor
 
New Post 12/29/2005 11:02 PM
User is offline Stefan Kamphuis
316 posts
www.superska.net
8th Ranked






Re: Java editor for Mac users 
I think you should create your own TextEditorProvider implementation. the original is in the Providers /TextEditors folder (or something like that).


Greetz,
Stefan Kamphuis
 
New Post 12/30/2005 5:24 AM
User is offline soft tester
18 posts
10th Ranked


Re: Java editor for Mac users 

I looked into it and yes, created my own HTMLProvider. The only thing I noticed is that in DNN Core there is no way to dynamically load specific provier based on condition without modifying Core files.Currently, I believe it works only with one "default". I think this would be a good improvement for Provider model. Please, correct me if I am wrong in my approach to solving this and there is eaysier workaround....

SNapshot from modified Providers/HTMLEditor/HTMLEditorProvider

' dynamically create provider
Private Shared Sub
CreateProvider()
   
If (HttpContext.Current.Request.Browser.Platform.IndexOf("Mac") <> 0)
Then
      
objProvider = CType
(Framework.Reflection.CreateObject("htmlEditor"), HtmlEditorProvider)
   
Else
      
objProvider = CType
(Framework.Reflection.CreateObject("htmlEditor", "JavaHtmlEditorProvider", "", ""), HtmlEditorProvider)
   End
If
End Sub


 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  HTML / Text Mo...  Java editor for Mac users
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com
The Forerunner Network
The Forerunner Network consists of a group of Dynamic Website & Interactive Membership Portal hosting services that are managed by Forerunner Communications. Our services span a wide range of markets and enable individuals, organizations and businesses to build and manage dynamic, interactive portals and websites.
The Forerunner Network
ZLDNN.COM
We provide commercial DotNetNuke modules.
www.zldnn.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP