Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Using ASP within DotNetNuke ModulesUsing ASP within DotNetNuke Modules
Previous
 
Next
New Post
3/21/2007 5:54 PM
 

I am currently building a new site for our company using DNN 4.x.  What we would like to do is have a page like this http://www.newhorizonsmiami.com/schedules.asp.  Once on this page we would like for our customers to be able to click on one of the links to view a schedule of those types of courses.  Then from there click on a link for a specific course to view a description of the course and a more detailed schedule of that course.

How can I accomplish this in DNN without creating a page for each Category of courses and a page for each course.  We would like to have something like an ASP page that would be populated by information from the database.  I guess I'm not visualizing how to accomplish this in DNN.

I thought of creating an ASP page but not sure how I would integrate it into my DNN site.  Is it possible to create a page in my Portal that is viewable by anyone but does not appear in the navigation bar?  Is it possible to place an IFrame on a page and have the IFrame refresh when someone clicks on a link in a seperate module on the same page?

Not sure what would be the best way to accomplish this.

 
New Post
3/21/2007 7:24 PM
 

Check out the events module

mj


Michael Jackson
Brillnat.com
Custom module development
Database access tokenized HTML modules
 
New Post
3/21/2007 7:59 PM
 

Been there tried that.  The Events module is a bit to cumbersome for our needs.  One the cells for each date are to small to display information.  For courses with long titles, the date cell wraps the text onto multiple lines.  Then if that same day has multiple classes running it either doesn't display all the courses or makes the row so large that the rest of the calendar looks weird.

We are trying to get away from the Calendar look and want something with a cleaner look.  By the way I should mention we are another New Horizons location and the information you see in the link above is the same kind of information we would display.

 
New Post
3/22/2007 1:14 AM
 

1. You are on the right sort of track ...
But instead of using asp -  what you want to do is use asp.net to create a module that does what you need.
Pretty much all of DNN is actually driven by info in a database.

Have a look at the DNN 4.x module developers guide for a starters guide.
http://www.dotnetnuke.com/About/Documentation/ProjectDocuments/tabid/478/Default.aspx

2. Get hold of a good book on ASP.NET - there are some key conceptual differences between ASP and ASP.NET that you need to understand - and understanding those will greatly help in seeing how the DNN system works.

The entire workflow you discuss can actually be conducted inside a single module - and effectively a single page of HTML markup and associated code.

Quickest would be a module that reads the contents of the query string and display different info from database depending on settings such that:

www.mysite.com/default.aspx?tabid=23 takes you to your Course site.

Your custom module on the page associated with tabid 23 - retieves the list of categories and any other info from database - and displays it to the user.

ALSO if you are logged in as and administrator - the same module could switch on editing so that you can add new categories / courses  or update and even delete.  - all in the same page

When the course list is displayed - you would then have the module create links to each cateory something like.

www.mysite.com/default.aspx?tabid=23&cat=22

Again this is the same module - it just does some slighly differnt things depending on the query string.

When a category is set - the module displays a list of the Courses within the category. - and again if you are logged in as an admin - you could have the module allow database updating - though sometimes this is better done thru some other simple standalone dataentry modules.

once again the module adds a link for each Course

www.mysite.com/default.aspx?tabid=23&cat=22&course=15

And this time - THE SAME module would now display the DETAILS of the subject - AND AGAIN possibly allow editing of the content by an ADMIN.

AND now - when i say 1 module - i mean one .ascx html like markup and layout page and one .ascx.vb source code page.

THIS IS really part of the true developer powers of asp.net

In ASP or PHP or most other scripting environments - you would have wound up with 10 to 15 seperate script pages made up of some ugly hard hacked layout code and little or no site integration.

3. yes you can link to hidden page - you simply make the page as hidden in its page settings - you can then access directly using its tabid

4. IFrames and co are all doable - and yes it is possible for modules to communicate with each other - this is trigger events to occur.

Though you may find that IFRAMES are not what you really need here.

Westa

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Using ASP within DotNetNuke ModulesUsing ASP within DotNetNuke Modules


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out