Mini-Calendar City in Tooltip

  • Julia Klingspor
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 3 months ago - 8 years 3 months ago #94113 by Julia Klingspor
Mini-Calendar City in Tooltip was created by Julia Klingspor
Hey ;)

The mini-calender tooltip only contains the event-name. Is there any chance of modifying it to display the event name AND the city?
tried it with an override, but i did'nt find any suitable variable to add.

thanks in advance
Last edit: 8 years 3 months ago by Julia Klingspor.

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #94122 by James Riley
Replied by James Riley on topic Mini-Calendar City in Tooltip
Doing a quick little
Code:
<div style="display:none;" class="CurrDayDump"><pre><?php print_r($currentDay["events"]); ?></pre></div>
hidden dump of the $currentDay["events"] object, the data contained within the $currentDay["events"] object are:
[the array index, eg 0 for the first event on that day, 3 for the forth event on that day, etc. ] {
=> [id]
=> [parent_id]
=> [event_capacity]
=> [title]
=> [event_date]
=> [event_end_date]
=> [thumb]
=> [alias]
=> [featured]
=> [total_registrants]
}
So there is no City data readily available, and I'm not sure what the best way to add it into the object would be, or if it would be better to query the database yourself from withing the mod_eb_minicalendar/tmpl/default.php file in order to pull that info.

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc