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 ForumsEventsEventsStop upcoming events and timezone from being displayedStop upcoming events and timezone from being displayed
Previous
 
Next
New Post
12/1/2006 9:07 AM
 

Hi

Can anybody help?

Currently using the events module I have a calendar displayed, with todays date displayed below it, below that is a list of upcoming events and below that timezone information.

Q- Is there any way I can stop the below from being displayed?

1) The upcoming events.
2) The timezone information.

Many thanks

Alex



Alex Shirley


 
New Post
12/6/2006 6:19 PM
 
Hi.
I have the same problem. Could the project owner please respond.
Thanks ArntK

Arnt O. Kvannefoss Software Consult AS Microsoft Certified Partner www.SwcWeb.net www.pamelding.net www.softwareconsult.no
 
New Post
12/11/2006 8:22 AM
 
Hi Alex

The only way I see is hiding by CSS. But unfortunately there are no specific classes for what you want to hide. But you can use the specific ID. Check your source code for the timezone text and notify the ID of span.

#dnn_ctr396_Events_EventMonth_NoScheduledEvents{
display:none;
}

Make sure you set your own control no. (instead of 396, check your source code in browser to find out). Another issue is that on days that have no events (on so no timezone is there to hide) the text "No events on this day" is in the span with the ID mentioned above and therefore will be hidden.
To hide the upcoming events you can use (check for the correct control ID "396"):

#dnn_ctr396_Events_EventMonth_DailyEvents{
display:none;
}

CSS rules!

Renato
 
New Post
1/5/2007 4:42 PM
 
Thanks, Renato!  Works like a charm!
 
New Post
1/12/2007 1:36 PM
 

Good idea, but be aware that the control ID depends on the module instance. So if you have more than one event module in your portal, you need additional css definitions - one for each module instance. 

Also, the resulting skin will not be portable - you'll have to fit the ID(s) in the css file first!

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsStop upcoming events and timezone from being displayedStop upcoming events and timezone from being displayed


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