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.

unlimited seats

9 years 3 months ago
  • Alan's Avatar
    Topic Author
  • Alan
  • Offline
  • Fresh Boarder
  • Posts: 75
  • Thank you received: 1
Licenses:
JomSocial Expired

is it possible to remove unlimited seats from events

9 years 3 months ago
Licenses:

Hi Alan,

you can override ( documentation.jomsocial.com/wiki/Customizing_Template ) this file:
/components/com_community/templates/default/events.forms.php at line 439, change the code from

<input name="ticket" id="ticket" type="text" size="10" maxlength="5" class="jomNameTips" value="<?php echo (empty($event->ticket)) ? '1' : $this->escape($event->ticket); ?>" onkeypress="if(joms.jQuery(this).val() <= 0 || joms.jQuery(this).val().length == 0) { alert('Cannot put 0 as seats'); joms.jQuery(this).val(100);}" />
to
<input name="ticket" id="ticket" type="text" size="10" maxlength="5" value="<?php echo (empty($event->ticket)) ? '1' : $this->escape($event->ticket); ?>" onkeypress="if(joms.jQuery(this).val() <= 0 || joms.jQuery(this).val().length == 0) { alert('Cannot put 0 as seats'); joms.jQuery(this).val(100);}" />

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