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  |  

DotNetNuke Marketplace
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

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


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Events Module [...  Set and display default category or categories.
Previous Previous
 
Next Next
New Post 7/8/2008 1: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 1: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 11: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 2: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 2:07 PM
User is offline Jerry Andersen
159 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.

 


DNN Outsourcing
50% more affordable services comparing to Western Europe and US: Custom DotNetNuke module development, skins, consulting, maintainence... Over 15.000 working hours of experience in custom DotNetNuke Solutions development, 8 years experience in outsourcing, excellent references!
www.dnnoutsourcing.com
Expressnet - DotNetNuke Hosting
Expressnet provide premium quality ASP.NET Web Hosting. We specialise in Windows based products including ASP.NET and Microsoft SQL Server. We offer fantastic value packages for DotNetNuke hosting. We also offer free asp.net web hosting
www.expressnet.com.au
Softech Development, Inc.
We help your business work smarter with DotNetNuke. Whether you need a new implementation, a custom module or skin for an existing implementation, or integration with your business processes, Softech has the experience and expertise to make it happen.
www.softechdevelopment.com

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