How to ad many pages/tabs?
Last Post 04/14/2009 12:02 PM by Joseph Craig. 3 Replies.
Author Messages
Carsten Dybkjær
Posts:10


--
04/14/2009 2:35 AM  
I want to ad 2000 pages with these titles A, A-Abild, A-Agedrup, B, B-Bodilsker, B-Brenderup etc .in DNN 4,9 It takes a l o n g time to do it manually. Therefore I have tried this. With MSQL server Management Studio Express 2005 i open the table Tabs. There I put data in Titel, Description, etc. And it went out well. I get my pages in a quick way. I do not put any data in the field/column TabId. But I am not sure what to do with the field/Column TabOrder? Please tell me about The TabOrder. And please comment the method I am using. Do I get any other problems by doing this? Thanks a lot. Carsten Next step is to copy and paste the page data fra my Access database into the Tabs table to do it more quicker. I'll use the method shown in DNN Creative How to ad many data to a DNN module .
Joseph Craig
DNN MVP
Posts:11667


--
04/14/2009 8:40 AM  
You might want to create a page template with some content following the techniques in this tutorial: How to create Page Templates in DotNetNuke.

You could then take this simple XML file and either duplicate it many times, changing the necessary information each time.  This could all go into a single file that would be used to create all of the pages.

You might take the basic structure of the XML file and write a program to create the file containing lots of pages.

You might also want to take a step backwards and ask why you need 2000 pages and how you will possibly manage them.  It might be better to create a module that can take on the appearance of many pages. 

What is the application? 

Your example looks like a dictionary or a telephone book, or something similar.  I would look at driving those "pages" off of a database table or something instead of creating a lot of pages that are certain to be a nightmare to administer, let alone create.

Joe Craig, Patapsco Research Group
Complete DNN Support
Carsten Dybkjær
Posts:10


--
04/14/2009 10:39 AM  
Hi Joe Craig, Thank you very much for taking time to answer me. I'll try the advice you gave me. I have also thought of importing it all with an xml fil to a module e.g. with Xmod. But I have some reasons to do it the hard way with many pages. Because it is a portal with all Danish Churches listed. And I want to give each church administrator rights to their page e.g A-church. And I still think the SEO is better with this structure: www.churches.dk/A-churh etc instead of hiding the churches in one module with a long URL adress difficult to find for the Search engines. But if I am wrong about this, it would be much easier to use one module or some of the suggestions you gave me. Please take a look at www.kirker.dk Here you can see the website as it is right now with an MS access database generating the pages, but I want to move to DotNetNuke, because of security and better performance and more modules. Thanks again Carsten
Joseph Craig
DNN MVP
Posts:11667


--
04/14/2009 12:02 PM  

Take a look at investedinc.org and look at the page for Sponsors.  This is all done with custom profile properties.  There is a user associated with each Sponsor, and that person can login in and modify the "profile" for his company only.  You could do that with the churches.

You can set up the "directory" part of the module to search alphabetically.

You can use a modified version of John Mitchell's Import User page to import all of the data if you can get it into a suitable XML file.

Joe Craig, Patapsco Research Group
Complete DNN Support


---