Upcoming events

  • webatwork
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 9 months ago #83544 by webatwork
Upcoming events was created by webatwork
Hi, I would like the default layout of the upcoming events module to show the short description of the event.
can anyone help me out here?

Thanks
luc

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

More
9 years 9 months ago #83553 by James Riley
Replied by James Riley on topic Upcoming events
Edit /modules/mod_eb_events/tmpl/default.php and add:
Code:
<?php echo $row->short_description; ?>
to the code where ever you'd like it to display.
I would probably do something like this:
Code:
// search for the following line of code (about Line 40?) <a href="<?php echo JRoute::_(EventbookingHelperRoute::getEventRoute($row->id, 0, $itemId)); ?>" class="eb_event_link"><?php echo $row->title ; ?></a> // and insert this right after <div class="mod_eb_description"><?php echo $row->short_description; ?></div> // then style .mod_eb_description via css for appearance

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 :.
The following user(s) said Thank You: Tuan Pham Ngoc

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

  • webatwork
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 9 months ago #83571 by webatwork
Replied by webatwork on topic Upcoming events
Super! thank you

luc

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

Moderators: Tuan Pham Ngoc