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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsSet and display default category or categories.Set and display default category or categories.
Previous
 
Next
New Post
7/8/2008 3:18 PM
 

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 3:41 PM
 

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 1:52 PM
 

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 4:25 PM
 

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 4:07 PM
 

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
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsSet and display default category or categories.Set and display default category or categories.


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