|
|
Register
|
Login
Home
Products
XMod Pro
XMod Pro Kits
SlideJS Slideshow
Contact Us Form
CoolIris Image Gallery
Feeds and Exports
FullCalendar jQuery Calendar
News Ticker
Vertical Content Slider
Featured Content Scroller
Feedback Form
File Sharing Form
Polls
3D Carousel Image Gallery
New In Version 4
XMod
Features
XMod Demos
Repeater Template
Tabstrip
AJAX
Ordered, Unordered and Definition Lists
Navigation Bars
News Articles
Scrolling
Fading News Ticker
Grid Layout Sample
Photo Gallery (Lightbox)
What's New in XMod 5.0?
XMod Screenshots
XMod Showcase
XMod Testing
XMod Test Page 2
XMod Category 2
XMod Testing
XMod Testing 2
Form and Template Exchange
XMod Add-Ons
ScreenCasts
XMod Calendar
XMod RSS Reader
Testify!
Development Services
Support
Forums
Knowledge Base
Training
Blog
Contact
»
Support
>
Forums
Friday, May 18, 2012
Quick Links
This module was created with XMod
Form & Template Exchange
Forums
XMod Online Help
XMod Showcase
XMod Calendar
XMod Features
Buy XMod 5.5 at up to 40% Off
Knowledge Base
Buy XMod Pro
Have You Checked the Knowledge Base?
Benefit from and contribute to our
Knowledge Base
. Here are some of the recent additions.
[XMod Pro]
How to Deploy New Form and Template?
[XMod Pro]
View Form Results In Database
[XMod Pro]
Forms not displaying correctly
[XMod Pro]
Dual List: Setting List Width and Other List Control Properties
[XMod Pro]
Is it possible to have 2 different ListDataSources for a Template?
[XMod Pro]
How to implement Next Page and Previous Page links
[XMod Pro]
How to implement jQuery.Tablesorter
[XMod Pro]
Auto Reply Email
[XMod Pro]
Button Rollover Images
[XMod Pro]
DetailImage only usable with static images
Home
Products
XMod Pro
XMod Pro Kits
SlideJS Slideshow
Contact Us Form
CoolIris Image Gallery
Feeds and Exports
FullCalendar jQuery Calendar
News Ticker
Vertical Content Slider
Featured Content Scroller
Feedback Form
File Sharing Form
Polls
3D Carousel Image Gallery
New In Version 4
XMod
Features
XMod Demos
Repeater Template
Tabstrip
AJAX
Ordered, Unordered and Definition Lists
Navigation Bars
News Articles
Scrolling
Fading News Ticker
Grid Layout Sample
Photo Gallery (Lightbox)
What's New in XMod 5.0?
XMod Screenshots
XMod Showcase
XMod Testing
XMod Test Page 2
XMod Category 2
XMod Testing
XMod Testing 2
Form and Template Exchange
XMod Add-Ons
ScreenCasts
XMod Calendar
XMod RSS Reader
Testify!
Development Services
Support
Forums
Knowledge Base
Training
Blog
Contact
DNNDev.com Forums
Unanswered
Active Topics
Forums
Search
Forums
>
DNNdev Forums
>
XMod Calendar
Display and Expiry Dates in XMod Calendar
Last Post 11 Sep 2011 01:25 AM by Cliff Hammock. 2 Replies.
Sort:
Oldest First
Most Recent First
Next
You are not authorized to post a reply.
Author
Messages
Cliff Hammock
Basic Member
Posts:201
10 Sep 2011 12:20 AM
I thought I had done some great work using display and expiry dates to show a two week scrolling view of events on my clients home page. But then when I go to the XMod calendar view I see the events are displaying every day on the calendar instead of the actual start and end date of the event.
In the main XMod configuration I can check the box to ignore display and expiry dates. Is there a way to do this with XMod Calendar? Is there any way on the template to tell it to only show up on the calendar on the start and end dates of the event?
Or conversely is there a different way to achieve the same two week scrolling view without using display and expiry dates on my home page module?
The Forerunner Network DotNetNuke Integration Specialists
DNNDev Admin
Senior Member
Posts:6419
10 Sep 2011 01:15 AM
Hi Cliff,
Display/Expiry dates are treated differently by the Calendar. They are used by the Calendar to determine which days to place the event in. I haven't looked into this but you may be able to use jQuery/CSS to hide the items from all but your start and end dates. You may also try adding a separate start event and end event with each event only lasting that day (according to the Calendar).
i don't have any really great ideas to throw out, unfortunately, because the dates are used differently between the two modules.
Best,
Kelly
Power Your Website With XMod Pro
Buy XMod Pro Today
Cliff Hammock
Basic Member
Posts:201
11 Sep 2011 01:25 AM
I am not sure how adding new date fields will help since I already have the start and end date of the event. It is just that the calendar uses the displaydate and expirydate that I calculate using this. And I cannot tell it to ignore these like in a standard XMod module.
<displaydate interval="d" value="-14" basedate="{StartDate}" />
<expirydate interval="d" value="1" basedate="{EndDate}" />
My only real requirement was to keep events on the Scrolling home page view on the actual day of the event. But since XMod uses 12am as the time for the EndDate, the events would stop showing up on the scrolling view on the day of the event. I want them to stop displaying on the day after the event EndDate.
In another thread you posted something like ... just add a day to the EndDate. I am not sure how to do math on normal XMod fields and that is why I was using the basedate.
Could I go back to setting the DisplayDate = StartDate and ExpiryDate = EndDate and then have another hidden field that somehow calculates the EndDate = EndDate+1 and then somehow use the module configuration to show events on the scrolling home page view using EndDate+1?
I know that XMod Cal is not really supported and I appreciate your reply. But my client added this "little" requirement to a very small budget effort mainly focused on basic DNN upgrade and some url rewrites. I thought with the basedate capability this would be simple. But then I realized it is causing an issue on the Calendar. Now I am going way over my time budget on a fixed price effort.
If I cannot get a really simple solution quick, I will just have to tell the client I cannot get this done.
The Forerunner Network DotNetNuke Integration Specialists
You are not authorized to post a reply.
DNNdev Forums
--XMod
----Extending XMod
----XMod Calendar
----XMod Wish List
----XMod RSS Reader
--XMod Pro
--Testify
3rd Party XMod Products
--DNNProfessor
--Fatgeorge
Forums
>
DNNdev Forums
>
XMod Calendar
Active Forums 4.1
© 2004-2010 Kelly Ford
|
Privacy Statement
|
Terms Of Use