By Guest on Thursday, 24 January 2019
Replies 7
Likes 0
Views 1.7K
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
·
Thursday, 24 January 2019 11:37
·
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?
·
Thursday, 24 January 2019 11:45
·
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?
·
Thursday, 24 January 2019 11:57
·
0 Likes
·
0 Votes
·
0 Comments
·
In addition i've also added our administrator credentials
·
Thursday, 24 January 2019 11:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes as suspected you were using has spaces, please see now.
·
Thursday, 24 January 2019 12:00
·
0 Likes
·
0 Votes
·
0 Comments
·
I just saw it
Is it possible to not display the numbers?
·
Thursday, 24 January 2019 12:03
·
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.
·
Thursday, 24 January 2019 12:05
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post