Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Events Module [...  Set and display default category or categories.
Previous Previous
 
Next Next
New Post 7/8/2008 12:18 PM
User is offline dgg
4 posts
10th Ranked


Set and display default category or categories. 

Our users have an associated District Code with their profile (login is required for this intranet). I have set up event categories for 'General' and also each specific District Code. We would like to have the home page calendar display events that are either 'General' or assigned to the category that 'matches' the District Code associated with the logged in user. It would be great if it were possible to set a category or multiple categories to be the default display. This is fairly common functionality for event calendars in intranets and extranets. Has anyone coded this functionality or is it planned in an upcoming release?

 
New Post 7/9/2008 12:41 PM
User is offline Michael Kamp
482 posts
8th Ranked




Re: Set and display default category or categories. 

I'd suggest another approach that uses default features of DNN and the Events module:

  1. Create a user role for each district and assign the users accordingly.
  2. Create one Events module instance per district and make each instance visible for the appropriate role (=district) only.
  3. Create a public instance for the general events.

So each user can see two calendars: the general one and the one for his/her district. He/she can decide which one to show by clicking the minimize/maximize buttons of the module containers. Or you can preselect the minimize/maximize stati in the module settings. If you want a real select option for your users, you could use one of the "module wrapper" modules from www.snowcovered.com. I saw some that offer tabs to switch between different modules.

OK, that's not exactly what you want, but perhaps close enough - without any coding!

 
New Post 7/10/2008 10:52 AM
User is offline dgg
4 posts
10th Ranked


Re: Set and display default category or categories. 

Thanks for the thought Michael. If it were up to me that would work fine, or even the simplest approach which is to just use the built in functionality of categories (change the display to 'Districts') and add the districts plus a 'General' category. Sure the user has to actually do something...select his district. But alas, clients have their own ideas, so I am starting to muck about in the code today.

 
New Post 7/11/2008 1:25 PM
User is offline Michael Kamp
482 posts
8th Ranked




Re: Set and display default category or categories. 

I thought there was a feature request for default categories already in Gemini, but it seems that I was wrong - at least I couldn't find it anymore, so I added it as comment to the related feature request EVT-7890.

Besides, I'm considering if it could be useful to assign certain categories to user roles, so that these categories are only selectable if the user is in the assigned role. E. g.  members of role "District 1 member" could select the categories "District 1" and "General", while unregistered users could select "General" only. This should solve your other problem. What do you thinK?

 
New Post 8/5/2008 1:07 PM
User is offline Jerry Andersen
148 posts
www.ops.org
9th Ranked


Re: Set and display default category or categories. 

I think you have a great idea regarding the categories being selectable by role....I too have a need for the same kind functionality that you are describing here and it seems to me having one calendar that incorporates roles is a lot easier to manage rather than having two seperate calendars.

Can you add you role permission idea to the gemini feature request as well?  I think it would be a great addition..

Jerry

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Events Module [...  Set and display default category or categories.
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Faculty of Graduate and Postdoctoral Studies
At the graduate level, the University of Ottawa offers more than 180 graduate certificates, master's degrees and PhDs, as well as interdisciplinary programs such as Women's Studies and Canadian Studies. Many postdoctoral opportunities are available in both the sciences and the humanities. For further information, please consult the site of the Faculty of Graduate and Postdoctoral Studies.
www.grad.uottawa.ca
Vekkin Solutions
Vekkin Solutions provides complete website solutions and custom module development to churches and small businesses.
www.vekkin.com
Powered by Adcuent®.Com
Adcuent® Consulting & Technology offers custom development web applications and hosting projects under the brand of Powered by Adcuent®.Com
www.adcuent.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP