By Guest on Thursday, 19 November 2020
Replies 14
Likes 0
Views 644
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
·
Thursday, 19 November 2020 11:44
·
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?
·
Thursday, 19 November 2020 11:48
·
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>}
·
Thursday, 19 November 2020 11:49
·
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"
·
Thursday, 19 November 2020 12:13
·
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.
·
Thursday, 19 November 2020 19:54
·
0 Likes
·
0 Votes
·
0 Comments
·
In addition, only on this page it seams to work:
https://www.healingspace.nl/agenda/
·
Friday, 20 November 2020 07:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony, any news?
·
Friday, 20 November 2020 15:11
·
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
·
Monday, 23 November 2020 10:14
·
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?
·
Monday, 23 November 2020 21:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony, yes please take the clone!
Thanks
Is the fix on the live site now?
·
Tuesday, 24 November 2020 06:25
·
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.
·
Tuesday, 24 November 2020 07:31
·
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
·
Tuesday, 24 November 2020 07:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you so much Tony, will it keep working on the next Jevents/RSVPro update?
Thnx again.
·
Tuesday, 24 November 2020 10:55
·
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.
·
Monday, 30 November 2020 09:40
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post