• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Having trouble customizing Upcoming Events output

Having trouble customizing Upcoming Events output 10 years 9 months ago #28726

I would like each event in the Upcoming Events module to look like:

friday 4/18, 10:15am:
BBQ

Where the top line is the date/time, and the bottom line is either the title or description. Where is the area I need to modify to do this?
The administrator has disabled public write access.

Having trouble customizing Upcoming Events output 10 years 9 months ago #28731

  • silviup
  • silviup's Avatar
  • OFFLINE
  • Moderator
  • Posts: 309
  • Thank you received: 49
This can be done using template overrides. The file that controls the Upcoming Events Module's view is found under the following path:

/modules/mod_rseventspro_upcoming/tmpl

and is called "default.php"

The process of creating template overrides for RSEvents!Pro (including the Upcoming Events Module) is explained in the following article:

www.rsjoomla.com/support/documentation/v...s-look-and-feel.html
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
The following user(s) said Thank You: FiveTalent

Having trouble customizing Upcoming Events output 10 years 9 months ago #28736

Ok. Thank you for the response. I'll look through that page and let you know how it goes :)
The administrator has disabled public write access.

Having trouble customizing Upcoming Events output 10 years 9 months ago #28737

Ok, so I modified the override, and almost have it working properly. It is formatted correctly, but I have broke something to where the starting time output is NOW, not the event starting time. Any thoughts? The code is as follows:
<li>
/* Begin of anchor tag */
    <a <?php echo $open; ?> href="<?php echo rseventsproHelper::route('index.php?option=com_rseventspro&layout=show&id='.rseventsproHelper::sef($event->id,$event->name),true,$itemid); ?>">
 
/* Begin "link" text inside of anchor tag */
    <?php echo $event->allday ? rseventsproHelper::date($event->start,rseventsproHelper::getConfig('global_date'),true) : (rseventsproHelper::date($event->start_date,'l m/d, g:i A',true)); ?>:
    <br />
 
/* Display event name on new line */
    <small>
        <?php echo $event->name; ?>
	</small>
 
/* Close anchor tag */
    </a> 
</li>
Last Edit: 10 years 9 months ago by FiveTalent. Reason: Comments
The administrator has disabled public write access.

Having trouble customizing Upcoming Events output 10 years 9 months ago #28738

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
Please try the following code inside the <li> tags:
<a <?php echo $open; ?> href="<?php echo rseventsproHelper::route('index.php?option=com_rseventspro&layout=show&id='.rseventsproHelper::sef($event->id,$event->name),true,$itemid); ?>"><small>(<?php echo $event->allday ? rseventsproHelper::date($event->start,rseventsproHelper::getConfig('global_date'),true) : rseventsproHelper::date($event->start,null,true); ?>)</small></a><br/>	<?php echo $event->name; ?>
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!