Thursday, 24 January 2019
  7 Replies
  1.4K Visits
0
Votes
Undo
We are currently using Jevents on a website and are using a query to display if an event is fully booked
In modules we use the query "${HASSPACES# #<span class="mod_events_latest_content">Vol</span>} " to display the word "vol" if an event is fully booked
This works fine in all modules and we would like to add this to the normal events page as well
We cannot find a place to add this query though, so in the events page we are not able to see what events are fully booked and which ones are still available for booking
Where can we add this query to add this on a events menu page?
I've added a screenshot of our menu settings
5 years ago
·
#208419
0
Votes
Undo
Hello,

so you want that custom format string to be used within the 'List of Events' page? If so that's not currently possible.

But given you are using the List of Events, you can use the 'Remaining Space' option from the list and then do a Language override for:

JEV_NO_REMAINING_SPACES

And change it's text from:

No remaining spaces

to: vol

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!

5 years ago
·
#208421
0
Votes
Undo
Hello,
Thank you for your fast reply
Ive added the "remaining spaces" option to our page
It displays a "1" when there are remaining spaces but displays nothing when there are no available spaces
Ive added the override but it doesnt display

How can we make it to display nothing when theres available spaces but display the word "vol" when there are no spaces?
5 years ago
·
#208424
0
Votes
Undo
Hello,

Are you sure you have added Remaining Spaces? What you are describing is what Has Space would do in the list?

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!

5 years ago
·
#208426
0
Votes
Undo
In addition i've also added our administrator credentials
5 years ago
·
#208428
0
Votes
Undo
Yes as suspected you were using has spaces, please see now.

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!

5 years ago
·
#208430
0
Votes
Undo
I just saw it
Is it possible to not display the numbers?
5 years ago
·
#208432
0
Votes
Undo
Hello,

Yes when a positive number I've done that for you now by overriding:
RSVP_REMAINING_SPACES

with an empty value.

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.