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

Dowload all Hotspots entries
Hi there, I'm looking for a way to dowload all the Hotspots entries. I've got t...
0 Replies
Posted on Sunday, 06 April 2025
  • #kml
  • #download
Set number of hotspots / user groups
Hi, I'm working with Hotspots for my new website and I love it! After trying ...
0 Replies
Posted on Monday, 31 March 2025
J5 compatibility for Hotspots
Hi guys, Just started to update my old J3x website. Is there J5 compatibility p...
1 Replies
Posted on Monday, 24 February 2025
  • #Hotspots
  • #hotspots Joomla 5
Text size in the comment input form
Hello. How can I increase the font size in the comment input field? For examp...
0 Replies
Posted on Wednesday, 26 February 2025
  • #CComment 6
Problem with enlarged image
Hello. When you click on the image in the comments, it does not appear in the ce...
1 Replies
Posted on Wednesday, 26 February 2025