Tuesday, 24 May 2016
  3 Replies
  2.5K Visits
0
Votes
Undo

PHP Version : 5.6.20
MySQL Version : 5.5.5-10.0.20-MariaDB-cll-lve
Server Information : Linux s174.webhostingserver.nl 2.6.32-673.8.1.lve1.4.3.el6.x86_64 #1 SMP Wed Feb 10 08:57:30 EST 2016 x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 1000
Club code set? : No
User Agent : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
Joomla : 3.5.1
component_com_jevents : 3.4.12
component_com_jce : 2.5.16
component_com_acymailing : 5.2.0
module_mod_acymailing : 3.7.0
module_mod_jevents_cal : 3.4.12
module_mod_jevents_custom : 3.4.12
module_mod_jevents_filter : 3.4.12
module_mod_jevents_latest : 3.4.12
module_mod_jevents_legend : 3.4.12
module_mod_jevents_switchview : 3.4.12
plugin_acymailing_calltoaction : 1.1.2
plugin_acymailing_contentplugin : 3.7.0 (not enabled)
plugin_acymailing_geolocation : 5.2.0
plugin_acymailing_managetext : 1.0.0
plugin_acymailing_online : 3.7.0
plugin_acymailing_plginboxactions : 5.2.0
plugin_acymailing_share : 1.0.0
plugin_acymailing_stats : 3.7.0
plugin_acymailing_tablecontents : 1.0.0
plugin_acymailing_tagcbuser : 3.7.1 (not enabled)
plugin_acymailing_tagcontent : 3.7.0
plugin_acymailing_tagjevents_j30 : 2.3.2 (not enabled)
plugin_acymailing_tagmodule : 5.2.0
plugin_acymailing_tagsubscriber : 5.2.0
plugin_acymailing_tagsubscription : 5.2.0
plugin_acymailing_tagtime : 5.2.0
plugin_acymailing_taguser : 5.2.0
plugin_acymailing_template : 5.2.0
plugin_acymailing_urltracker : 5.2.0
plugin_content_jevents : 3.4.12
plugin_editors_acyeditor : 5.2.0
plugin_finder_jevents : 3.4.12 (not enabled)
plugin_search_eventsearch : 3.4.12
plugin_system_acymailingclassmail : 5.2.0 (not enabled)
plugin_system_acymailingurltracker : 5.2.0
plugin_system_gwejson : 3.4.12


Hi,
I'm trying to create a layout in which there are three seperate blocks (modules) next to each other showing the upcoming events (using latest events).

I've got the modules working, however, they are (obviously) all showing the nearest upcoming event, while I would like the second module to display the "second nearest upcoming event" and the third module the "third nearest upcoming event".

So it would display something like this (all seperate modules):

Event 1 || Event 2 || Event 3
May 30 || June 2 || June 8

Is there a way to offset the event displayed to "nearest plus 1" per individual module?

Many thanks!
8 years ago
·
#171208
0
Votes
Undo
Hello,

You can do it by days if you like? So using the time limit plugin you can constrain date filter by date or days relative.

Or you could name each module 1 2 3, then use CSS to hide the 2nd and 3rd row. The 2nd module, hide the first and last. Then the 3rd module hide the first and second.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

8 years ago
·
#171209
0
Votes
Undo
Thank you for that second suggestion!

I've used the module class suffix as you suggested (firstevent, secondevent, thirdevent) and then added the following custom css to each module:

Module 1
.fistevent table tr:nth-child(2) {display : none;}
.fistevent table tr:nth-child(3) {display : none;}

Module 2
.secondevent table tr:nth-child(1) {display : none;}
.secondevent table tr:nth-child(3) {display : none;}

Module 3:
.thirdevent table tr:nth-child(1) {display : none;}
.thirdevent table tr:nth-child(2) {display : none;}

Worked like a charm!
Thanks again!
8 years ago
·
#171210
0
Votes
Undo
:-) You are very welcome Bizzarro! Glad to have helped.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.