inherit
215606
0
Nov 6, 2014 10:06:30 GMT -8
mitchfeldman
1
November 2014
mitchfeldman
|
Post by mitchfeldman on Nov 6, 2014 10:02:47 GMT -8
Hello!
There are many events posted on my forum. It's often that multiple events are posted for the same day, however there is no way to see which times these events start and end from the Calendar landing page without clicking through to the thread.
Would anyone be able to create a plugin that would automatically incorporate the event times (start time at least) into the event's title, or include time slots on the calendar itself? I imagine it wouldn't be too difficult because I'm not asking for a change in functionality per se, just added display of information.
Any ideas or help that can be provided is very much appreciated! If you need more information to understand the situation better then please don't hesitate to ask.
Thank you,
Mitch
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 6, 2014 19:06:09 GMT -8
There's apparently enough data in the calendar layout template to accomplish this without a plugin, albeit in a crude manner depending on just how finicky you are regarding date formatting. On the month view tab of the calendar layout change this section {if $[week.day.event_thread.iteration] < 4} $[week.day.event_thread]<br /> {/if}
to this {if $[week.day.event_thread.iteration] < 4 } {if $[week.day.event_thread.event.start_date] != $[week.day.event_thread.event.end_date]} <span> <span onmouseover="if(!$(this).data('title'))$(this).attr('data-title',$(this).siblings('.start_date').text()+$(this).siblings('.end_date').text()).tipTip({attribute:'data-title'}).tipTip('show');">$[week.day.event_thread]</span> <span class="start_date hide event-date">$[week.day.event_thread.event.start_date]</span> {if $[week.day.event_thread.event.end_date] }<span class="end_date hide event-date"> to $[week.day.event_thread.event.end_date]</span>{/if} </span> {else} $[week.day.event_thread] {/if}<br /> {/if}
Hover your mouse over a few events when previewing the change to see if it's adequate
|
|