1. Lena LL
  2. General Talk
  3. Monday, 09 December 2013
  4.  Subscribe via email
Hallo,

ich nochmal :-) Yves, könntest Du mir nochmal helfen? Ich hab schon so viel ausprobiert, aber irgendwie funktioniert es alles nicht.

Ich möchte, dass es die Auswahlmöglichkeit einer offline-Buchung nicht gibt. Liege ich richtig, dass ich es in der util_events anpassen muss?

// max. Buchung
$html .= "<tr class=\"sem_Buchbar\">" . MatukioHelperUtilsEvents::getTableCell(JTEXT::_('COM_MATUKIO_MAX_BOOKABLE_PLACES') . ':'
. MatukioHelperUtilsBasic::createToolTip(JTEXT::_('COM_MATUKIO_CANNOT_BOOK_ONLINE')), 'd', 'r', '20%', 'sem_edit');


$bookableplaces = $row->nrbooked;

if($bookableplaces == "") {
$bookableplaces = 1;
}

if (MatukioHelperSettings::getSettings('frontend_usermehrereplaetze', 2) > 0) {
$htxt = "<input class=\"sem_inputbox\" type=\"text\" name=\"nrbooked\" size=\"3\" maxlength=\"3\" value=\""
. $bookableplaces . "\" />";
} else {
$radios = array();
$radios[] = JHTML::_('select.option', 0, "0");
$radios[] = JHTML::_('select.option', 1, "1");
$htxt = JHTML::_('select.genericlist', $radios, 'nrbooked', 'class="sem_inputbox" ', 'value', 'text', $row->nrbooked);
}
$html .= MatukioHelperUtilsEvents::getTableCell($htxt . $reqfield, 'd', 'l', '80%', 'sem_edit') . "</tr>";



Ich möchte es so, dass nrbooked immer auf 1 steht und dann möchte ich die auswahlmöglichkeit per css ausblenden.

$radios[] = JHTML::_('select.option', 0, "1");


hat leider nicht den gewünschten Erfolg gebracht. Zwar wird es richtig in der Übersicht angezeigt aber trotzdem als offline gespeichert. :(

Ich wäre Dir dankbar für den richtigen Hinweis.

Lg
Responses (4)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now

Last questions

Hotspots Pro 6.0.13 compatability with Joomla 5.3.
Running Hotspots Pro 6.0.13 on Joomla 4.4.13 and want to upgrade to Joomla 5.3.1...
2 Replies
Posted on Friday, 04 July 2025
  • New
  • some questions on Hotspots
    Hi, On Hotspots extension : 1) is it possible to add our own map layer / v...
    0 Replies
    Posted on Thursday, 03 July 2025
  • New
  • Trying to resize the image in the comments
    Hey everyone, Basically I am trying to make the images in the comments smalle...
    9 Replies
    Posted on Wednesday, 12 August 2009
    J5 compatibility for Hotspots
    Hi guys, Just started to update my old J3x website. Is there J5 compatibility p...
    2 Replies
    Posted on Monday, 24 February 2025
    • #Hotspots
    • #hotspots Joomla 5
    error message when adding/cofiguring email address
    When configuring the email plugin that send a email message to admin when a new ...
    0 Replies
    Posted on Friday, 09 May 2025