You need to Register for free and Login to post a message in the forum.

Forum

Auto create pages and content
Last Post 2010-05-17 10:03 PM by Dave Hassall. 11 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Dave HassallUser is Offline
Nuke Pro
Nuke Pro
Posts:68

--
2010-02-13 12:20 PM  
I have a 6,000 page PHP website that I am about to rebuild in DNN. The majority of the pages are auto generated, a bit like a mail merge; to generate personalised geographically unique pages e.g. Hairdresser London, Hairdresser Manchester. Does anyone know if this can be achieved with DNN by “publishing” information straight to the database? Alternatively does anyone know of a good book / info site that give details of how the back end database operates?
Dave HassallUser is Offline
Nuke Pro
Nuke Pro
Posts:68

--
2010-02-13 12:24 PM  
Just found this - I will review and see if it gives me clues
http://www.dnncreative.com/Tutorial...fault.aspx
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9008
Avatar

--
2010-02-13 04:42 PM  
If that's not enough ... please give more details on how you want these pages to look.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Dave HassallUser is Offline
Nuke Pro
Nuke Pro
Posts:68

--
2010-02-13 06:55 PM  
The videos mentioned above were a brilliant pointer. Still got investigations to do but.. When a page is created it produces entries in the Tabs and TabPermission tables. When you add a module to that page then there is an entry into the TabModules table. There is also an entry into the Modules Table. You can then track to the table that controls the specific module type - in my case HTMLTEXT. There is a field in there that holds all the data (RAW HTML) which in theory can be cut and pasted to form a template for the auto-generation of text on your page. I'm guessing at this point if you use a Page Template to generate the page you just need to work out the number of modules on the page to know which ones to poke. That is you create a page and add a text/HTML module then in rough terms it'll go TadId=1 ModuleID=1 next page 2 and 2, 3 and 3 But if the page contains 3 modules then you would get TabID=1 ModuleID=1,2,3 TabID=2 ModuleID=4,5,6 Assuming The 2nd module was your module of choice then you would create you Excel file or your Access / VB program to cut/paste or SQL update ModuleID 2, 2+(1x3), 2+(2x3) etc etc. that is 2,5,8 Brilliant
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9008
Avatar

--
2010-02-14 01:27 AM  
Seems like you are on the right track ...  good luck!

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Dave HassallUser is Offline
Nuke Pro
Nuke Pro
Posts:68

--
2010-02-23 11:39 AM  
Joe and Lee I've just spent some time looking at the videos on Shadow Pages BRILLIANT :-). I've been caught out in the past with "include on every page" but this concept is amazing. When you trully realise the POWER of the database driven website this becomes amazing
Dave HassallUser is Offline
Nuke Pro
Nuke Pro
Posts:68

--
2010-02-24 04:40 PM  
Hi I have successfully added pages and modules to a site purely through SQL. So far it has proved a relatively straight forward process. I have achieved this through SQL Server Management Studio Express and just recently by connecting Access 2007 to my hosted SQL database The next test is to query an Access Database and append records to the SQL database to create pages. Then Modules...... Watch This Space
Lee SykesUser is Offline
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945
Avatar

--
2010-03-03 12:17 PM  
Keep us posted Dave, this could be useful for everyone!
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
Dave HassallUser is Offline
Nuke Pro
Nuke Pro
Posts:68

--
2010-03-18 11:46 AM  
CAUTION - I am also adding pages to the site manually (Page Functions Add) but I am finding after adding the pages I need to restart the application for them to appear on the menu. I will investigate further
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9008
Avatar

--
2010-03-18 06:15 PM  
Are you using the DotNetNuke menu or another one?

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Dave HassallUser is Offline
Nuke Pro
Nuke Pro
Posts:68

--
2010-03-19 12:53 PM  
Hi Joe DNN Out of the box version 4.9 Login as Host with Firefox to create and IE8 to monitor, CTRL - F5 on both platforms but need to Host - Restart App I can give you access to the site / login if you would like to play
Dave HassallUser is Offline
Nuke Pro
Nuke Pro
Posts:68

--
2010-05-17 10:03 PM  
Progress is being made. I have the challenge to build pages based on post code area e.g. BH, OX and EX etc In an Access 2007 application I have created a single entry in a table by selecting the TABS table and making a table. By building a query that has a list of post codes in one table and the single entry in another you get a list of all the pages that needs a post code entry. The bits that needs customising e.g. Hairdresser_in_OX is achieved by using the Acess build command This neatly generates the pages. By sampling a completion event in DynamicForms I can link a drop down selection to the autogenerated pages. This will save hours.... More to come as I progress further and add Catalook product pages to these pages
You are not authorized to post a reply.

Active Forums 4.3

Latest Forum Posts

iPhone website logo in DNN root directory by JohnnieD
I'm trying to put an iPhone logo that I made into my site so when someone saves the website on their
RE: Fixed size container by Joseph Craig
Use an HTML module and style the container to have a fixed height and width. Set the overflow attr
Fixed size container by Aggiedan97
I am looking for advice or an actual container that has a fixed height (and width). An HTML module w
RE: DNN 6.1 app_offline.htm by Joseph Craig
If the site "works" in Chrome, Firefox and Safari, but not in IE8 look to IE8 as the problem. It is
RE: DNN site automatically redirects to a different domain name. by Joseph Craig
Make a copy what is in the portalalias table and then remove all but the localhost entry. Verify th
DNN 6.1 app_offline.htm by Dave Hassall
Hi As recommended I have successfully been using the app_offline.htm whilst performing upgrades t
RE: DNN site automatically redirects to a different domain name. by imran shaikh
Hi i have done same as mention in this post my dnn folder name is Trademaxomanupg with
Enforce Terms Tutorial Update by Vistalogix Corporation
I tried configuring my DNN 6.1.2 install to have a required "accept terms" checkbox as described in
RE: Best Practices for Modifying a Custom Module by Joseph Craig
Start up the development website, then install the module using the package that you have. Then, yo
Best Practices for Modifying a Custom Module by schilders
Good Morning, I'm needing to modify a custom built module created by another developer targeted f
RE: Admin menu problem by alireza arabiyan
hi in localhost i have http://localhost/senf/خانه.aspx and http://localhost/senf/Admi
RE: Admin menu problem by Joseph Craig
Yes, that is what you should have done. What is the URL for your home page? What is the URL for
RE: Admin menu problem by alireza arabiyan
hi first in localhost i add my domain.com as portal alias. then copy all files to host , restore my
RE: Admin menu problem by Joseph Craig
How did you move it? Have you added an entry in the portalalias table for the site's domain name?
RE: Re: SQL SERVER 2008 R2 Remote connection by Joseph Craig
Set up a user with dbo privileges and set the connection string for that user, rather than using Win
Re: SQL SERVER 2008 R2 Remote connection by Prakasam Srinivasan
I have successfully configured MSSQL Server 2008 r2 remote connection. I am using windows 7 and it h
Admin menu problem by alireza arabiyan
hi i installed dnn 6 on localhost and move it in my host, all link's , pages and modules are ok,
RE: dnn 4.4 upgrade issue by imran shaikh
Thanks you all it is done by renaming release.config to web.config procedure
RE: dnn 4.4 upgrade issue by imran shaikh
Thanks you all it is done by renaming release.config to web.config
dnn 4.4 upgrade issue by imran shaikh
hi this is imran i am upgrading dnn 4.4 to dnn 6.0.2 and getting this error please help me for this
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds