Mountain View 1600, CA 94043
+1 650-253-0000
name@example.com
Web
Site
Search
Register
Login
DNN Home
Services
-
DotNetNuke Support
-
CRM Systems
DNN
-
DotNetNuke Modules
-
Module Downloads
-
Module Upgrade Policy
DNN Support
-
Module Update News
-
Knowledge Base
-
License Management
-
Invoice History
Module Downloads
Blog
Store
Contact Us
-
About Us
Search
Home
1
2
3
4
5
Home
Support
Advance Login M...
Used HTML Editor for Templates
Previous
Next
2/22/2012 8:41 AM
Xeevis
Joined: 7/19/2010
Posts: 10
Used HTML Editor for Templates
(Czech Republic)
Hello, is there any particular reason why you used this very basic HTML editor for templates? I mean DotNetNuke is as much of a framework as it is CMS, it provides universal controls for extension developers to use. I took great deal in personalizing and configuring my CKEditor to make me more productive in DNN and almost all extensions honor it. Just Advanced Login doesn't, makes personalizing templates a lot harder (honestly one used is on par with notepad). I made my templates in plain HTML already, but I'm sure it would benefit everyone if they could use their preferred HTML editor.
2/22/2012 10:54 AM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: Used HTML Editor for Templates
(Australia)
Actually there is a very good reason.
The apparently better editors mess with HTML. Naturally it is vitally important that the HTML in the template is not messed with in any way.
Additionally that backend is not using DNN, and as such we cannot call in controls like the default editor.
Additionally there has been 3 versions of editors over DNN 4x, 5x and 6x. Even if we could get it working in the EXT.JS we know from experience that there will be all sorts of problematic experiences with a variety of different editors, including the custom ones that can be included.
And lastly, the editing of the templates is moving towards an area of expertise that does require some know how. We would expect that most users would play in an HTML editor and paste code into the module. This is where it is vital that the code pasted remains unchanged by the editor on save.
So they are the reasons.
2/22/2012 11:59 AM
Xeevis
Joined: 7/19/2010
Posts: 10
Re: Used HTML Editor for Templates
(Czech Republic)
Ok fair enough I guess. It's no big deal, most modules don't supply a template editor whatsoever so I'm still glad for what is there don't get me wrong. It's just incosistency that gets into my hair. I created a sandbox page with CKEditor instance just for purpose of designing templates in the future. (It doesn't create gaff, I know exactly what it does and is capable of and I can say for this purpose its better than the visual studio or any other offline tools).
But to address your concerns, DotNetNuke thought of editor's HTML gaff (which many HTML editors do add) it's the sole reason why there is radio switch between "Rich Text Editor" and "Basic Text Box" (which has also radio switch between Text/Html/Raw to let it know what you actually pasted in it). This makes better sense than yet another HTML editor (now imagine more modules each having a different one). I just think you should provide a way for users to use preferred editor, doesn't have to be enforced (NBStore is even using checkbox to switch between provider and simple multiline textbox for template editing).
But if it's not possible or desirable then it's your call. Just wanted to know what your thoughts are and whether it may be implemented or not. I won't press this any further, my users don't see it and I can live with it, it's still a great module
. Thanks for your time.
2/22/2012 6:55 PM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: Used HTML Editor for Templates
(Australia)
In all reality we program to give the path of least resistance.
We are selling $50 products, and naturally get a bunch of support requests. Different DNN versions, different browsers, different server platforms, different end user experience... the list goes on.
If we include user selected editors, then we just add a bunch of non paid support time to users who have editors that convert links to relative, format HTML without being asked. etc.
Basically this way makes it a reliable experience.
Page 1 of 1
Previous
Next
Home
Support
Advance Login M...
Used HTML Editor for Templates