You need to be logged in to view a user's profile.
  1. symbal
  2. Contribute to JEvents
  3. Wednesday, 27 August 2014
Greetings,

I have found that on the calendar view, when hovering over a multiday event (using overlib) that has the start date (first day) later than that of the end date (last day) the time displayed is quite odd. I.E. It is shown as starting later than the finish time.
http://void.nl-intl.com/jevent.calendar.multiday.event.hover.png
I have created a patch which (when installed) alters the following file:
components/com_jevents/views/default/month/tmpl/calendar_cell.php

I've made the patch an attachment also, maybe you would like to take it upstream. There are more elegant ways of doing this for sure but, I haven't oriented myself with this code at all other than the bare minimum
--- calendar_cell.php.original	2014-08-27 11:54:45.519448770 +0800
+++ calendar_cell.php 2014-08-27 11:55:12.516081212 +0800
@@ -94,11 +94,19 @@
else if($this->start_time != $this->stop_time && !$this->event->alldayevent()){
$tmp_time_info = '<br /><b>' . JText::_('JEV_TIME') . ': </b>' . $this->start_time . ' - ' . $this->stop_time_midnightFix;
}
- $publish_inform_overlay = '<table style="border:0px;width:100%;height:100%">'
- . '<tr><td><b>' . JText::_('JEV_FROM') . ': </b>' . $this->start_date . ' '
- . '<br /><b>' . JText::_('JEV_TO') . ': </b>' . $this->stop_date
- . $tmp_time_info
- ;
+
+ if($this->event->multiday) {
+ $publish_inform_overlay = '<table class="w100 b0 h100">'
+ . '<tr><td>'
+ ;
+ } else {
+ $publish_inform_overlay = '<table class="w100 b0 h100">'
+ . '<tr><td><b>' . JText::_('JEV_FROM') . ': </b>' . $this->start_date . ' '
+ . '<br /><b>' . JText::_('JEV_TO') . ': </b>' . $this->stop_date
+ . $tmp_time_info
+ ;
+ }
+
}
}
tonyp
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,

Thankyou but why are you not using the Joomla! Tooltip? We are planning on removing the overlib in the near future.

Thanks
Tony
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!
  1. more than a month ago
  2. Contribute to JEvents
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks for getting back to me so promptly. I have chosen to use overlib because (by defualt it seems to fit in with the general theme of the site much better than the Joomla! tooltip) and doesn't have any "oddities". See screenies when using Joomla tooltip:
[attachment=0:1luhdu9e]<!-- ia0 -->joomla.tooltip.png<!-- ia0 -->[/attachment:1luhdu9e]
When viewing it on the clients laptop (through Internet Explorer) it was further garbled just showing a small tooltip and a set of HTML code (not rendered). I know part of this is to do with the theme but, want to try and avoid having to "tinker" too much so just choose overlib
  1. more than a month ago
  2. Contribute to JEvents
  3. # 2
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
text colour and size issues are CSS related from your template and the visible HTML code is probably due to your template or a module loading a javascript library called jQuery and not putting it in no-conflict mode.

If using Joomla 3 - enable the JQuery fix option in the JEvents config (first tab).

support for overlib will be removed from JEvents fairly soon so its best not to rely on it
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
  1. more than a month ago
  2. Contribute to JEvents
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Ok, thanks for the heads up about removal.
  1. more than a month ago
  2. Contribute to JEvents
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Wow! Awesome! Many thanks!
  1. more than a month ago
  2. Contribute to JEvents
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Wow Great Very Very Thank u
  1. more than a month ago
  2. Contribute to JEvents
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.