By sergio0187 on Thursday, 19 November 2020
Replies 14
Likes 0
Views 565
Votes 0
We have a website on which we're using Jevents to display the events on the pages
On those pages we used a module to display all the events

On all the events it now says "vol" which shows that all the events are full
This is done with the code "${HASSPACES# #<span class="mod_events_latest_content">Vol</span>"

That code is supposed to check if there are available spaces and if not display the word "vol"
It used to work fine until we updated the Jevents component to the latest version
Is there any way to resolve this issue?
Thank you
Hello Sergio,

Can you check that's the code you are using? It should be:

"${HASSPACES# #<span class="mod_events_latest_content">Vol</span>}"

Notice the missing } ? Failing that, can you confirm the page the issue is on and I'll take a look.

Many thanks
Tony
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,
The complete code we're using is:
${startDate(%d %b %Y)} ${title} ${HASSPACES# #<span class="mod_events_latest_content">Vol</span>}

It has the } in the end
One of the pages we're using it on is https://www.healingspace.nl/opleidingen-en-cursussen/reiki/reiki-1
Is there anything incorrect with this code?
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
No that should work fine. is has space it does nothing else it outputs Vol. If it is not working there is something going on with has spaces. Can you try putting %s within to see what value it has? So:

${startDate(%d %b %Y)} ${title} ${HASSPACES# Value: %s#<span class="mod_events_latest_content">Vol</span>}
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,
I've tried your code, but the result displays the same as the code previously used
The value seems to show nothing
I've added the login credentials, maybe you can figure out what is happening?
The module in this example is called "Schrijf je hier in voor de cursus Reiki 1"
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony,
I just removed the word 'vol' everywhere from the code so people don't think there's no capacity. There were many phone calls why all courses don't have capacity
Hope you have a clue why since latest upgrades the codes aren't working anymore.
Thank you in advance.
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
In addition, only on this page it seams to work:
https://www.healingspace.nl/agenda/
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony, any news?
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony,
It would be really appreciated if you could help us solve this today.
Hope you're available.
Thank you in advance.
Kind regards
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
It's taken me a while to work back through the changes. I've applied the fix now but need to work with Geraint in regards to his change. Can I confirm I can clone your site locally to test the change on?
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony, yes please take the clone!
Thanks
Is the fix on the live site now?
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
I can't see the change yet, somehow this page keeps being reset, did you try to fix this page?
https://www.screencast.com/t/Mc2Uu2ZvU2Cl

I have removed the 'vol' again, because everything was on 'vol' which means no more capacity while there are many events with capacity.

Thanks for looking into it.
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
My changes were reset again? This happened earlier yesterday too.

I have re-applied them now. Ok I'll clone the site now.

Many thanks
Tony
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you so much Tony, will it keep working on the next Jevents/RSVPro update?
Thnx again.
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Yep that should be fine, I am working with geraint to fix this issue for the next release now we can recreate it.
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post