CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.custom_modules Tags:
Item Type: NewsGroup Date Entered: 4/26/2005 10:18:37 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 17 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
kunle_X
Asp.Net User
A question on DNN plug-in Module architecture/model?4/26/2005 10:18:37 AM

0/0

<aside>
I might be wrong but, it is regrettable that "Module" is a confusingly overloaded term in DNN. I've found two such instances (perhaps there are more?):
1. A plug-in that generates output for a region of a page is called a module.
2. An instance of the use of such a plug-in on a page is also called a module.
</aside>

Anyways, here's the issue I'm posting about. I would like to develop a custom module (as in plug-in) for kiddie sports clubs. A club may have many teams playing in many leagues/tournaments.

Now I would like each team to have it's own page (and link in the menus etc). Problem is I can't determine what the DNN plug-in module architecture supports/allows in this case.

- Do I have to write a custom module for each club and then, for each club create a page that uses an instance of the correct custom module?.
[Seems downright silly to have to.]

- Or, do/can I write a single [generic] custom module that can be "configured" per use on a page with the club that a module instance should use?.
[I still have to create a page for each club which still seems unneccessary IMO.]

- Or, do/can I develop a single page that uses my [generic] custom module and is therefore able to configure itself to display the appropriate team by checking query parameters (or some other similar mechanism)? 
[Can a page and the module instances it contains be dynamically configure at runtime - i.e. by passing values to them at runtime?]
[How do I ensure the virtual team pages still have entries in the menu etc?.]

Any ideas?

jbrinkman
Asp.Net User
Re: A question on DNN plug-in Module architecture/model?4/26/2005 12:05:40 PM

0/0

It is possible to have multiple menu items to point to a single page in the system.  If you manually enter the full URL (instead of just linking to the page which constructs the URL internally) then it is possible to pass in a querystring value to the page as well.  There is no need to create anything other than a generic Module.  The module instance on a page is controlled by the Portal framework.
 
Once you have defined your module (a module is always defined as the executeable code and user controls) you may add it to a single page and use the technique described above to handle multiple teams.  It is then up to your module to handle keeping each teams data properly separated.  The better approach is to have your module focus on keeping track of a single team and then just create multiple pages where you place a new module instance on each page.  This is probably the easiest way to go and is the most flexible.  With the second approach you would be able to customize each team's page to include custom graphics and also maybe an ad from the team sponsor. 

Joe Brinkman
phr0ze
Asp.Net User
Re: A question on DNN plug-in Module architecture/model?4/26/2005 2:39:34 PM

0/0

kunle_x,

A great thing about DNN is you can do your module ANY of those three ways. Its up to you.

 


John

Free DotNetNuke News, Tips, Strategies and more.
www.dotnetnukesites.com
kunle_X
Asp.Net User
Re: A question on DNN plug-in Module architecture/model?4/26/2005 3:32:50 PM

0/0

It is possible to have multiple menu items to point to a single page in the system.  If you manually enter the full URL (instead of just linking to the page which constructs the URL internally) then it is possible to pass in a querystring value to the page as well.

OK. Sounds straightforward enough.

There is no need to create anything other than a generic Module.  The module instance on a page is controlled by the Portal framework.

So how would a particular instance of my generic module (that can display the data for any specified single team) be configured to link it to a specific team?.

The better approach is to have your module focus on keeping track of a single team and then just create multiple pages where you place a new module instance on each page.  This is probably the easiest way to go and is the most flexible.

Unfortunately it imposes a rather unwelcome and burdensome workflow (add new page and customize to new team) whenever a new team is added. I'd rather the system handled all that dynamically.

With the second approach you would be able to customize each team's page to include custom graphics and also maybe an ad from the team sponsor.

If it turns out that we need to include custom graphics and/or sponsor information, I'd rather have all that info in the database ready to be used dynamically as well.

Thanks.

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
DotNetNuke Module Developers Guide model and one you should understand at this point, you can easily plug in ...... We covered every layer of the DotNetNuke module architecture; now let's get ...
DotNetNuke Modules - Foundational Concepts May 26, 2008 ... Other post in DotNetNuke - Module Development. Creating DotNetNuke Modules - May .... 9 DotNetNuke Modules - Benefits of Architecture Says: ...
DotNetNuke Portal – Custom Module Development Modularizes the core. DotNetNuke Data Architecture. Provider Model .... Modular construction – modules plug in easily through an install/uninstall interface ...
CodeProject: Creating a DNN Module and Understanding DNN ... Jan 8, 2007 ... So how exactly does the DNN architecture support this flexibility? ...... Also second question is if I decide to create a store module I am ...
DotNetNuke Skin Developers Guide One of the big advantages of the DNN architecture is a provider model pattern, which enables to you to plug in any provider you wish for the physical ...
DotNetNuke OpenForce '08 > Home > Archive > OpenForce 07 ... DMD303: Advanced DotNetNuke Module Development Concepts .... NET -- NUnit. DOS102: Panel Discussion: .Net Open Source Architectural Models ...
DotNetNuke 4.0.0 Starter Kit and Templates... - ASP.NET Forums Since DotNetNuke is an extensible platform where a variety of plug-in resources can be installed at .... Stay tuned for my next post on Module Architecture. ...
DotNetNuke OpenForce NET application into a DotNetNuke module by using the ASP. ... NET -- NUnit. DOS102: Panel Discussion: .Net Open Source Architectural Models ...
Chris Hammond's Home On the Web > Tags DotNetnuke Conference MODULE DEVELOPMENT DMD303: Advanced DotNetNuke Module Development ConceptsCharles ... module plug-in architecture, use of the property editor and other. ...
DotNetNuke > Products > Development > Forge > Module - Reports This is the home page of the Official DotNetNuke® Reports Module Project. ... constantly get asked questions like "Why should I use DotNetNuke when we could ...




Search This Site:










mybase.load

dynamically setting gridview row backround color

php md5 and .net md5 functions do not produce the same thing.

can't move my modules to another page

losing 1st row in datatable/reader, how?!

html control name and id modified of by .net

is everyone on holiday?

newsfeed rss 2.0

any consultants out there?

response.redirect("about:blank");

iactionable and other controls (comment from a core member or someone with lots of knowledge please?)

can't register an object..

hello damn i love dotnetnuke!

is there any way to..

treeview control in asp.net 1.1

treeview event handler on content page

dataset is not filled properly

"aspnet_compiler.exe" exited with code 1

crm app, users, roles, security policies

crearting rolls

how to use kodak image edit control in asp.net?

sql database

smart-thinker homepage 4.3.1 for dnn 4.x - user-customizable pages - new version!

3.5 beta 2 hosting

focun on selected node

need visual studio 2005 web part templates for vb.net

rookie question about sql 2000 and modules

sql database

logout security feature

issue tracker starter kit and dotnetnuke

 
All Times Are GMT