Sign In  |  Register
 
 
DotNetNuke Support Forums
Not a valid Portal Template File fix for DNN4.5
Last Post 31 Mar 2010 06:10 AM by John Mitchell. 14 Replies.
Printer Friendly
Sort:
PrevPrev
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
Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:4384
Avatar

--
10 May 2007 09: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
New Member
New Member
Send Private Message
Posts:66

--
17 Jul 2007 06: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.
John Mitchell
Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:4384
Avatar

--
17 Jul 2007 07: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
Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:4384
Avatar

--
22 Jul 2007 09: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
New Member
New Member
Send Private Message
Posts:2

--
30 Jul 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
Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:4384
Avatar

--
30 Jul 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
New Member
New Member
Send Private Message
Posts:16

--
08 Aug 2007 07:24 AM  
Another excellent post.. what would I do without this forum!
Rob
robax
New Member
New Member
Send Private Message
Posts:16

--
06 Oct 2007 06: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
Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:4384
Avatar

--
06 Oct 2007 07: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
New Member
New Member
Send Private Message
Posts:16

--
17 Oct 2007 07:29 PM  
Cool, thanks for the update :)
Rob
LR-Support
New Member
New Member
Send Private Message
Posts:2

--
30 Mar 2009 01:08 PM  
Hi John,

the link in the original post appears to be broken. Is the file still available?

Best regards,

Alan
John Mitchell
Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:4384
Avatar

--
30 Mar 2009 01:39 PM  
I looked and couldn't find it. You should be able to use the xsl validator from a version 4.6.2 or later in earlier versions though.
LR-Support
New Member
New Member
Send Private Message
Posts:2

--
30 Mar 2009 04:25 PM  
Hi John, many thanks for looking.

I copied the {root}/admin/portal/portal.template.xsd file from a new DNN 4.8 installation and copied it into my DNN 4.5 installation, in the same location, and then Site Wizard was able to import the portal template file I had previously created. :D

Many thanks for the post and the reply.

Best regards,

Alan
friendsterjoel
New Member
New Member
Send Private Message
Posts:1

--
31 Mar 2010 05:19 AM  
hi there, the link for the fix is broken. can someone reupload the file?
John Mitchell
Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:4384
Avatar

--
31 Mar 2010 06:10 AM  
I don't have the file any longer, but what you can do is use the template file from a later version of DNN. This problem was corrected in DNN.
Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.


Active Forums 4.1
Visit our Store for great DotNetNuke Modules and Skins
DotNetNuke CSS Menu 3.4.6 (single use)

Item codeCSSNM33SU
AuthorJohn Mitchell
Base Price$39.00
Product Information 
DotNetNuke CSS NavMenu 3.4.6 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
DotNetNuke Performance Caching & Compression - PageBlaster 3.4.5 - Professional Edition

AuthorJohn Mitchell
Base Price$59.00
Product Information