• 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: calendar view thumbnails

calendar view thumbnails 10 years 7 months ago #28718

  • info2649
  • info2649's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Hello with RSEvents I would display in the calendar view thumbnails of the event.

I add these lines com_rsevent spro / calendar / default.php
<?php if (!empty($this->events)) { ?>
 
	<?php foreach($this->events as $eventid) { ?>
	<?php $details = rseventsproHelper::details($eventid->id); ?>
	<?php if (isset($details['event']) && !empty($details['event'])) $event = $details['event']; else continue; ?>
	<?php } ?>
 
<?php } else echo JText::_('COM_RSEVENTSPRO_GLOBAL_NO_EVENTS'); ?>
 
 
<?php if (!empty($event->options['show_icon_list'])) { ?>
		<div class="rs_event_image" itemprop="image">
			<a href="<?php echo rseventsproHelper::route('index.php?option=com_rseventspro&layout=show&id='.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(''); ?> " class="rsttip"  title="<?php echo $this->getDetailsSmall($day->events); ?>"  alt="" width="150" />
 
				<?php }  ?>
			</a>
		</div>
		<?php } ?>

but it is not good

thank you for your help
The administrator has disabled public write access.

calendar view thumbnails 10 years 5 months ago #29329

  • rinenweb
  • rinenweb's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
That would be a very nice ability on calendar view. Did you have any luck implementing it? :)
The administrator has disabled public write access.

calendar view thumbnails 10 years 3 weeks ago #30952

This will do the trick.


<?php $details	= rseventsproHelper::details($this->calendar->events[$event]->id);?>
 <img src="<?php echo $details['image_s']; ?>" alt="<?php echo $this->escape($event->name); ?>" />
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!