Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...HTML Templates not being recoginzed in Template Manager using Telerik editorHTML Templates not being recoginzed in Template Manager using Telerik editor
Previous
 
Next
New Post
3/7/2012 3:10 PM
 
My apologies if I put this in the wrong forum.  Please move appropriately if need be.


I am having a problem with inserting HTML templates when trying to apply them in Text/HTML modules on a DotNetNuke versuion 6 Website.  I am able to create and save a template successfully, but when I try to insert the .htmltemplate file appropriately, the Template Manager doesn't even recognize the file (it has no preview, and nothing gets pasted into the Telerik editor).  The .htmltemplate files are still there in the file system obviously.


To compare/contrast, on this site when I try to insert an image or media file in the Telerik text editor using the appropriate steps (Image Manager, etc.), the Managers show the preview of the files appropriately, and then they are successfully able to be seen in the text editor and the typical HTML code is generated.


To further compare/contrast, I have a client site that uses an earlier version of DotNetNuke (DNN 5 I believe), it uses the Telerik editor and the site has several HTML templates that successfully work and the Template Manager recognizes them.


I have tried various things through researching similar issues such as making UK English the default language, changing the security/permission settings in the File Manager that All Registered Users can read/add files to the file manager, I've tried modifying the web.config file that might seem to help.  I trying using the FCK editor and that didn't work.  Nothing has been successful so far.


I am about to post this same message in the Telerik forums.  Any help is greatly appreciated.  Posted below is the error I always get in the Event Manager console.


Thanks,


Jack


--------------------


AssemblyVersion: 6.1.3


PortalID: 6


PortalName: Not Rocket Science


UserID: 8


UserName: jack


ActiveTabID: 104


ActiveTabName: Home


RawURL: /Providers/HtmlEditorProviders/Telerik/Dialogs/RenderTemplate.aspx?rurl=/Portals/6/Templates/newsletter1.htmtemplate


AbsoluteURL: /Providers/HtmlEditorProviders/Telerik/Dialogs/RenderTemplate.aspx


AbsoluteURLReferrer: http://dev.notrs.com/Providers/HtmlEditorProviders/Telerik/Telerik.Web.UI.DialogHandler.aspx?tabid=186&language=en-US&DialogName=TemplateManager&Skin=Vista&Title=Template+Manager&doid=913493c8-0ec2-4c85-9411-beea64044dd4&dpptn=&rwndrnd=0.5647045751102269


UserAgent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11


DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider


ExceptionGUID: 0cfaf492-eb6f-4923-86f3-764bd0d3d326


InnerException: Array cannot be null. Parameter name: bytes


FileName:


FileLineNumber: 0


FileColumnNumber: 0


Method: System.Text.Encoding.GetString


StackTrace:


Message: System.ArgumentNullException: Array cannot be null. Parameter name: bytes at System.Text.Encoding.GetString(Byte[] bytes) at DotNetNuke.HtmlEditor.TelerikEditorProvider.Dialogs.RenderTemplate.Page_Load(Object sender, EventArgs e)


Source:


Server Name: GZSQL01
 
New Post
3/7/2012 4:39 PM
 

I could be wrong, but I believe the extension for templates changed in 6.1, so older templates won't work until you change the extension. 

The same goes for new extensions that you create, you have to create them with the proper extension (what that is escapes me right now)


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
3/7/2012 4:48 PM
 

Understood, and makes sense.

I apologize if this thread also popped up multiple times.  My computer was acting weird and I wasn't sure if the topic got posted or not.  Wasn't trying to purposefully spam if multi threads occured.

 
New Post
3/7/2012 4:52 PM
 

It did, and I was able to clear them out of the moderation queue ;) 


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
3/7/2012 6:11 PM
 

Where would these extensions be available to change?  I am assuming it would be just .html now instead of .htmltemplate?

I'm more of a power user/developer on the front end, not as much experience on behind the scenes/technical side and files etc. but I should be able to understand instructions and attempt to modify or pass it to one of my co-workers who could help.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...HTML Templates not being recoginzed in Template Manager using Telerik editorHTML Templates not being recoginzed in Template Manager using Telerik editor


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out