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  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


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.

 


Need Help with your DotNetNuke website?
Jango Studios offers exclusive DotNetNuke Skin Design, Module Development, Web Marketing and Web Hosting.
www.jangostudios.net
Where Every Home is an Investment
Where Every Home is an Investment
www.nestbrokers.com
Faculty of Graduate and Postdoctoral Studies
At the graduate level, the University of Ottawa offers more than 180 graduate certificates, master's degrees and PhDs, as well as interdisciplinary programs such as Women's Studies and Canadian Studies. Many postdoctoral opportunities are available in both the sciences and the humanities. For further information, please consult the site of the Faculty of Graduate and Postdoctoral Studies.
www.grad.uottawa.ca

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