Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

I want to disable the 'accept' 'reject' buttons in the notification pop up

9 years 6 months ago
  • Joel's Avatar
    Topic Author
  • Joel
  • Offline
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 2
Licenses:
JomSocial Expired

ISSUE SUMMARY:
When the notification panel pops up with new event details i don't want the 'accept' or 'reject' buttons. see attached.
I want the user to go to the event and decide from there.

You have given this info quite some time ago, but lots and lots of my previous posts have gone from the 'my posts' history.

Thank you.

Joel

STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

Attachments:
9 years 6 months ago
Licenses:

Hi,

here the steps:
copy /components/com_community/templates/jomsocial/layouts/notification.event.invitations.php to /templates/socialize/html/com_community/layouts/

edit it, and remove this code from line 32

<div class="joms-popover__actions joms-js--invitation-buttons-event-<?php echo $row->eventid; ?>" style="white-space:nowrap">
    <button class="joms-button__approve" onclick="joms.api.invitationReject('event', '<?php echo $row->eventid; ?>');"><?php echo JText::_('COM_COMMUNITY_EVENTS_REJECT'); ?></button>
    <button class="joms-button__reject" onclick="joms.api.invitationAccept('event', '<?php echo $row->eventid; ?>');"><?php echo JText::_('COM_COMMUNITY_EVENTS_ACCEPT'); ?></button>
</div>

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW