The forum is in read only mode.
Hi team, How can I, preferably via overrides, disable the field "number of seats" and have "unlimited" as default for every Event creation? Thanks, Andre
Hi Andre, better you do it by using override: documentation.jomsocial.com/wiki/Customizing_Template create override file for /components/com_community/templates/default/events.forms.php and edit it: delete line 350 - 352
<label for="ticket" class="form-label"> <?php echo JText::_('COM_COMMUNITY_EVENTS_NO_SEAT'); ?> </label>
from <input title="<?php echo JText::_('COM_COMMUNITY_EVENTS_NO_SEAT_DESCRIPTION'); ?>" name="ticket" id="ticket" type="text" size="10" maxlength="5" class="jomNameTips" value="<?php echo (empty($event->ticket)) ? '0' : $this->escape($event->ticket); ?>" /> to <input title="<?php echo JText::_('COM_COMMUNITY_EVENTS_NO_SEAT_DESCRIPTION'); ?>" name="ticket" id="ticket" type="hidden" size="10" maxlength="5" class="jomNameTips" value="<?php echo (empty($event->ticket)) ? '0' : $this->escape($event->ticket); ?>" />
100%, thanks a lot.
JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a full -fledged, social networking site
TRY NOW BUY NOW