We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Disable 'Maybe' Option | Forum

Topic location: Forum home » Support » General Questions
James
James Feb 20 '14
Hi there,


Is it possible to remove the 'Maybe' option in the Events module?


I don't want to give my group that option.


Cheers


James

ross Team
ross Feb 21 '14
Topic was moved from General Questions.
ross Team
ross Feb 21 '14
Topic was moved from Custom Code Modifications.
ross Team
ross Feb 21 '14
in ow_plugins/events/views/controllers/base_view.html delete this line: 

{decorator name='button_list_item' type='submit' langLabel='event+attend_maybe_btn_label' id='event_attend_maybe_btn'}

in ow_plugins/events/components/event_users.php

delete this line:

 $this->addUserList($event, EVENT_BOL_EventService::USER_STATUS_MAYBE);

The Forum post is edited by ross Feb 21 '14
James Roney
James Roney Mar 13 '20
Hi Ross,


Thanks for the pointer above.  This works very well for the small widget, however on the event itself the Maybe button still appears.  How do we remove this button too.  Please see screenshot attached.

Attachments:
  Capture.PNG (2Kb)
dave Leader
dave Mar 13 '20
Have you considered changing the text to something else, such as  probably not  


that button is surely alot like the other button its just in the controller views file instead of the components folder. 


 yep, in views controllers base_view.html   like 51


{decorator name='button_list_item' type='submit' langLabel='event+attend_maybe_btn_label' id='event_attend_maybe_btn'}


The Forum post is edited by dave Mar 13 '20