By sergio0187 on Thursday, 24 January 2019
Replies 7
Likes 0
Views 1.4K
Votes 0
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
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
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
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
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Are you sure you have added Remaining Spaces? What you are describing is what Has Space would do in the list?
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
In addition i've also added our administrator credentials
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes as suspected you were using has spaces, please see now.
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
I just saw it
Is it possible to not display the numbers?
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

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

with an empty value.
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post