Tab ID Changes when exporting the template
Last Post 06/21/2007 4:22 AM by Lee Sykes. 2 Replies.
Author Messages
kishoreaquarius
Nuke Newbie
Nuke Newbie
Posts:4


--
06/20/2007 12:30 AM  

Hi All,

Can anyone help me to sort out my issue, i think most of us face this problem.

I have used tab id for linking lots of pages. when i export the website from local to stating server the tab id changes and my links are getting broken.

Please provide a solution for same as soon as possible.

Regards,
Kishore   .

Joseph Craig
DNN MVP
Posts:11667


--
06/20/2007 11:14 AM  
I believe that one of the upcoming issues of DNN Creative Magazine will have a tutorial on moving a site from one server to another.

If you can move the database from the localhost to the site, rather than exporting the content, you won't have this problem.

If you have exported content -- and I'm assuming that the exported content is in an XML file or something else -- then you might be able to use a text editor and change text like:

/LinkClick.aspx?link=100&tabid=XX"

to text like:

/LinkClick.aspx?link=100&tabid=YY"

where XX is the tabid of the page on your localhost site and YY is the tabid on the server site.

Of course, you'll have to make a list of the pages on both sites first.


Maybe someone else has a better suggestion.


Joe Craig, Patapsco Research Group
Complete DNN Support
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
06/21/2007 4:22 AM  
Yes we are currently editing videos covering how to transfer a localhost to live site, how to transfer a live site to a localhost site, and how to fix problems with urls when you transfer a localhost site to a live site.

Unfortunately there isn't a solution to the tab id problem when transferring the content using the template method apart from manually editing the links. - You may be able to use something such as the technique outlined here:
http://www.bi4ce.com/Support/Forums...fault.aspx

Where you can use find and replace to change URLs, but you may come across conflicts ie:

(Left tab IDs are the live site, right ids are the localhost original tab ids that you need to convert)

Find all URLs with a tab ID of 56 and change them to a tab ID of 70
find all URLs in a tab ID of 70 and change them to a tab ID of 60

All of those tab ids above will now be using no. 60 instead of 70 and 60

If you can wait till the 1st/2nd July, the video tutorials in issue 22 will demonstrate the preferred method of transferring a localhost installation to a live site.

Thanks,


Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile


---