• 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: [RESOLVED] Number of repeating events in module

[RESOLVED] Number of repeating events in module 9 years 8 months ago #31984

  • sylv20c
  • sylv20c's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
Hello,
I use "upcoming events" module to show next events.
I try to add something in the override file. I don't want to show all repeating events... so I unchecked this option but I want to show the upcoming event and next to him the number of repeating event.

I would like to show something like that :
-Next event (xx/xx/2015) + 5 other dates

Is there someone who can help me on this ?

Thank you
Last Edit: 9 years 8 months ago by sylv20c.
The administrator has disabled public write access.

[RESOLVED] Number of repeating events in module 9 years 8 months ago #32001

  • sylv20c
  • sylv20c's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
Ok I have found by my own way.
First you have to do an override of mod_rseventspro_upcoming/tmpl/default.php
And put this code after the link to the event.
<?php
$nb = $details['repeats'];
$zenumber = count ($nb);
echo '+ ' . $zenumber . ' other dates';
?>
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!