• 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: Upcoming events module not working after update.

Upcoming events module not working after update. 5 years 8 months ago #38356

  • RPPEO
  • RPPEO's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 67
  • Thank you received: 6
The Upcoming Events module is no longer showing events after today's update (1.2 to 1.3).
Have it installed on several sites, having the same issue on all that have been updated.
The administrator has disabled public write access.

Upcoming events module not working after update. 5 years 8 months ago #38357

  • RPPEO
  • RPPEO's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 67
  • Thank you received: 6
So for anyone that has created an override the new module is written slightly different so that the rather useless columns can be used. IMO the layouts provided are pretty lame. If you use YooTheme and want something a little more pleasing to look at give this a try (includes LOCATION)
==============================================
<style>
.uk-card-body-small {
    padding: 10px 10px 0px 10px;
}
.uk-card-default {
	background: transparent;
    margin-bottom: 15px;
}
.uk-background-blend-darken {
    background-blend-mode: darken;
}
a.el-eventname {
	color:#fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,.9);
    text-weight: 500;
}
a.el-eventname:hover {
	color:#ecbb23;
}
.rs-event-date {
    background-color: rgba(0,0,0,.5);
    padding: 5px;   
}
.rs-event-overlay:hover {
    color: #ecbb23;
    font-weight: 500;
    background-color: rgba(0,0,0,.5);
    padding: 40px;
    margin: -40px;
}
h3 a {font-weight:bolder;}
</style>	   
<?php
/**
* @package RSEvents!Pro
* @copyright (C) 2015 www.rsjoomla.com
* @license GPL, http://www.gnu.org/copyleft/gpl.html
*/
 
// no direct access
defined('_JEXEC') or die('Restricted access');
$open = !$links ? 'target="_blank"' : ''; ?>
 
<?php if ($items) { ?>
<div id="rsepro-upcoming-module">
	<?php foreach ($items as $block => $events) { ?>
	<ul class="rsepro_upcoming<?php echo $suffix; ?> row-fluid">
		<?php foreach ($events as $id) { ?>
		<?php $details = rseventsproHelper::details($id); ?>
		<?php $image = !empty($details['image_s']) ? $details['image_s'] : rseventsproHelper::defaultImage(); ?>
 
		<?php if (isset($details['event']) && !empty($details['event'])) $event = $details['event']; else continue; ?>
		<li class="clearfix uk-card uk-card-body-small uk-card-default uk-background-norepeat uk-background-botom-center uk-background-blend-darken uk-background-fixed span<?php echo 12 / $columns; ?>" style="background-image:url('<?php echo $image; ?>'); background-color: rgba(0,0,0,.5)">
		<div class="rs-event-overlay">
			<div style="padding: 10px 10px 1px 10px;margin: -8px 0px 0px 0px;">
			<h4><a <?php echo $open; ?> class="el-eventname" href="<?php echo rseventsproHelper::route('index.php?option=com_rseventspro&layout=show&id='.rseventsproHelper::sef($event->id,$event->name),true,$itemid); ?>"><?php echo $event->name; ?></a></h4>
 
			<div class="rs-event-date"><span style="color:#ecbb23; font-weight:500;">(<?php echo $event->allday ? rseventsproHelper::date($event->start,rseventsproHelper::getConfig('global_date'),true) : rseventsproHelper::date($event->start,null,true); ?>)</span></div>
			 <p></p>
			<p style="font-size:15px; font-weight:400;"><a href="<?php echo($event->locationlink);?>" target="_blank" class="el-eventname"><i class="uk-icon-map-marker"></i> <?php echo($event->location);?></a></p>
			</div>
		</div>
		</li>
		<?php } ?>
	</ul>
	<?php } ?>
</div>
<div class="clearfix"></div>
<?php } ?>
===================================
Last Edit: 5 years 8 months ago by RPPEO.
The administrator has disabled public write access.
The following user(s) said Thank You: jb5
  • 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!