Sign In  |  Register
 
 DotNetNuke Powered!
DotNetNuke Support Forums

Not a valid Portal Template File fix for DNN4.5

Rate this topic:

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

AuthorMessages
John Mitchell
Posts:3471



05/10/2007 9:19 AM  

Seems that DotNetNuke has had a problem with exporting and importing templates in recent versions.

I don't use this feature, but I came across a thread in the DotNetNuke Forums and after discussing with Nina Meiers I found out it has been broken for quite a while.

Anyway, it was a pretty easy fix, just needed to add some new nodes to the Schema.  I have made that schema available and attached it to this post. After downloading, just overwrite the same file in the /admin/portal folder.

Portal Template Validator

 

greenflash
Posts:51



07/17/2007 6:14 AM  
is this valid for current release (4.5.3) i am able to export but cannot create portal from exported template, i had to run site wizard after creating portal.

DotNetNuke Türkçe
John Mitchell
Posts:3471



07/17/2007 7:54 AM  

Yes, this should make a template from a current release work on an older version of DNN, but if you go back too far then the database may not be able to handle some of the information from the newer versions.

John Mitchell
Posts:3471



07/22/2007 9:12 AM  
This file had to be updated again for a new bug in DNN 4.5.4
I have changed the attachment in the original post.
pauldes
Posts:1



07/30/2007 10:35 AM  
So, this individual file will work for ANY template I create and not just the default "portal" template? No other configuration needed on my part for any portal templates I create?
John Mitchell
Posts:3471



07/30/2007 10:39 AM  

Yes, this file is the one used to validate the templates when you import them. It has been updated so that the newer exports are also valid.

robax
Posts:16



08/08/2007 7:24 AM  
Another excellent post.. what would I do without this forum!
Rob
robax
Posts:16



10/06/2007 6:53 AM  
Hi John,
Do you think this fix is still needed for 4.62?
I've just now upgraded and am going through the list of things I need to fix up. Winmerge tells me that 4.55 to 4.62 has only brought one change with it at line83

Everything else seems to be the same as 4.55

Regards,
Rob
John Mitchell
Posts:3471



10/06/2007 7:08 AM  

No, I don't think it is needed anymore.

I was able to create a template in 4.6.2 and reuse it when creating a child portal so I think they have it fixed.

 

robax
Posts:16



10/17/2007 7:29 PM  
Cool, thanks for the update :)
Rob
Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

Forums >DotNetNuke Support >Release-Information-Bugs-Patches > Not a valid Portal Template File fix for DNN4.5



ActiveForums 3.7
Visit our Store for great DotNetNuke Modules and Skins
DNNMasters Sitemap/Google Sitemap 3.0

Item codeSM3-01
Price$29.00
Product Information 
DotNetNuke CSS NavMenu 3.3 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
Snapsis PageBlaster 3.3.2 Performance for DotNetNuke - Professional Edition

AuthorJohn Mitchell
Base Price$79.00
Product Information 
XDAkuna (Web 2.0 CSS XHTML Skin)

Item codeXDAkuna
AuthorNina Meiers
Price$49.00
Product Information 
XDAkuna (Web 2.0 CSS XHTML Skin)

AuthorNina Meiers
Price$49.00
Product Information