JCow’s Events Join Modification

4:32 pm in Elgg, JCow by emran

I love jcow script.it is very nice and faster. It is very simple to implement in production website though some modification is required.

I found that in the Event module,  “i want to join” button always keep front even user already clicked the join button.it should not show if user already join on the event.

It can be changed easily.Please follow the steps to modify:

1. Go to modues/events/events.php

2. go to line no 70. where u will find hook_viewstory() function.

then you place code as following.

Events join modification

Events join modification

3. Now refresh the events page and check that it will not show if you already join the event.

That’s all