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 ForumsEventsEventsSame event listing in two Event ModuleSame event listing in two Event Module
Previous
 
Next
New Post
3/25/2008 1:40 AM
 

Hello Ahmad,

Thanks for giving me the answer of my question.I have a one more question regarding to this event parent child relation.

My question is that i have add two instance for event module, one for home page & second for inner page.I want to show events with different color cell in the calender instead of event description, means for inner page i only want to display the date of the event happening with different color and not showing event desription but for the home page Event description is required for event happening.Please help ASAP.

Thanks

 

 
New Post
3/25/2008 3:04 PM
 

Hi Manish

I don't believe it is possible to do this as this time. If you raise a request on Gemini, it may get added in a future release (the bext release being bug fix only).

Cheers
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
3/31/2008 1:37 PM
 

I found a solution!  -Well sort of.

I found that you set the "Add Other Event Module" to the main "parent" calendar in the module settings of the "child" calendar, or in my case the small thumbnail calendar.  It will inherit the events of the main calendar, (or even multiple calendars on multiple pages, if you want to set it that way.) 

As far as I can tell, there is currently no way to get the child calendar to pull up the parent calendar dates and events, however, you can do a little CSS trick. 

I created a special container with relative positioning and negative margin CSS to place the spacer.gif over the dates.  The spacer.gif is invisible and has the link embedded to the parent calendar page.  It works great!

My CSS went like this:

 /*======== Calendar Thumbnail Link Override ============*/

.calthumb img
{
    margin-top: -100px;
    border: 1px solid transparent;
    width: 200px;
    height: 100px;
    text-align: center;
    z-index: 1000;
    position: relative;
    top: 160px;
    float: left;
}

Just add Class="calthumb" to the ContentPane line in the HTML of that container.

For your calendar, you may have to mess with the size and margins to get it to float over the correct area.  Set the border size to 0 once you have the box set over the desired area.

As for the problem of the CSS applying to both calendars on the same page, just add an extra descriptor of what pane it's in to every class in the small.css, or whatever calendar theme you are using.  It's located in this path:

\DesktopModules\Events\Themes\Small\Small.css

So if the class was .Event change it to .rightpane .Event

Now the class will only apply to the event module when it is in that pane.  You could define it specifically in a container too, if you want it in the same pane.

In the future, the module should have a setting to handle 2 calendars on the same page with different themes.  I'm not sure how that would be handled.  More importantly, there should be a way to link the days on the calendar to the parent calendar event, day, week, or month. 

 
New Post
3/31/2008 4:01 PM
 

Sorry, posted a mistake!

The CSS line:

border: 1px solid transparent;

Should be:

border: 1px solid black;

Then after you get the box positioned in the right place, change it to:

border: 0px solid transparent;

to hide it!

 
New Post
4/1/2008 4:34 AM
 

Cut this - looks like my answer was to a separate thread


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsSame event listing in two Event ModuleSame event listing in two Event Module


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