• 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: Show Even Icon in Calendar View

Show Even Icon in Calendar View 11 years 3 months ago #20906

  • dante0
  • dante0's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I am trying to show the event icon in the calendar view (the thumbnail). I tried to use the same code from other views. However, it is just defaulting to the blank image. Any thoughts?
	<div class="rs_event_image" itemprop="image">
		<a href="<?php echo rseventsproHelper::route('index.php?option=com_rseventspro&layout=show&cid='.rseventsproHelper::sef($event->id,$event->name)); ?>" class="rs_event_link">
			<?php if (!empty($event->icon)) { ?>
				<img src="<?php echo JURI::root(); ?>components/com_rseventspro/assets/images/events/thumbs/s_<?php echo $event->icon.'?nocache='.uniqid(''); ?>" alt="" width="70" />
			<?php } else { ?>
				<img src="<?php echo JURI::root(); ?>components/com_rseventspro/assets/images/blank.png" alt="" width="70" />
			<?php }  ?>
		</a>
	</div>
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!