Hi Garry,
Do you mean the button is not working on your site?
Could u share the steps, in your last post its not clear the issue you are facing?
If possible share site details for staff/Mods and let me now steps to replicate it.
So i can check this issue directly on your site.
Regards
Hi Pankaj!
No, this is another matter.
Here's the scenario:
1. There is an event that will take place after a while. This event is private and it is need to request an invitation.
2. I want to participate in this event and click on the "Request Invitation" button.
BUT. If the event has already passed, then requests for it should no longer appear.
I remind that this applies only to private events.
Hi
I raised this issue to the development team and it will be fixed in the next update of the Jomsocial.
To fix it open components/com_community/templates/jomsocial/layouts/events/single.php
Find
if (
($event->permission == COMMUNITY_PRIVATE_EVENT) &&
(!$isEventGuest) &&
(!$waitingApproval) &&if (
!$isPastEvent &&
($event->permission == COMMUNITY_PRIVATE_EVENT) &&
(!$isEventGuest) &&
(!$waitingApproval) &&
Thanks buddy!
In general, it would be very cool to create a separate css-style for the past events. For example, here's what I would really like to do:
- the list of past events can be done in a more compact mode
- the color of the date of the past event can be made different
- add text results for the past event and much more.
Just one style, and how many possibilities.
Hi
if the solution for past event is not working, kindly edit your first post and submit site details with FTP details for Mods/staff.
I will check and apply the fix .
Regards
Hi!
I already started to prepare access for you, but it was not necessary. ))
It turned out that your decision is correct. But it only acts on the past event, which is open. But the button "Request Invitation" continues to be available in the list of past events.
Therefore:
if (
!$isPastEvent &&
($event->permission == COMMUNITY_PRIVATE_EVENT) &&
(!$isEventGuest) &&
(!$waitingApproval) &&
It is necessary to put also in file:
components/com_community/templates/jomsocial/layouts/events/list.php
As usual, thanks for the help!
Hi
You are welcome.
i will test it for the list and if issue noticed we will add this fix for list view as well.
thanks for the update.
Regards