Main menu

Forum


× Help Forum English

[SOLVED] Number of Tickets - dropdown list issue

  • lightningbit
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
13 Anni 7 Mesi fa - 13 Anni 7 Mesi fa #3372 da lightningbit
[SOLVED] Number of Tickets - dropdown list issue è stato creato da lightningbit
Hi,

this is a great extension, however, I'm experiencing 1 issue
the list for "number of tickets" is appearing outside the dropdownlist (see attached image)


I'm using :
Joomla 2.5.9
Rockettheme Cerulean (including the necessary rok-extensions for the theme)
icagenda : default theme (but the issue also occurs with the rounded theme)


What I noticed in the html source :
<div>
				<label>Number of tickets</label>
				<select type="list" name="people"></select><option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<span class="formInfo">
					<a class="ictip"><img src="http://www.xxxxxxxx.com/components/com_icagenda/themes/packs/default/images/info.png"><span>
						<span class="title">Number of tickets</span>
						<div class="text">Number of persons attending including you</div>
					</span>
					</a>
				</span>
			</div>

Shouldn't the option values be inside the SELECT tag?

like this :
<label>Number of tickets</label>
				<select type="list" name="people"><option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>

can you provide a fix, or let us know which source files to change so we can fix it?

thanks


P.S. if needed, I can provide the rockettheme to test with
Allegati:
Ultima Modifica 13 Anni 7 Mesi fa da Lyr!C.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
13 Anni 7 Mesi fa #3375 da Lyr!C
Risposta da Lyr!C al topic Number of Tickets - dropdown list issue
Hi,

It's curious...

Does it is working with the option values inside the SELECT tag?

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • lightningbit
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
13 Anni 7 Mesi fa #3377 da lightningbit
Risposta da lightningbit al topic Number of Tickets - dropdown list issue
Hi,

yes (I tried in a clean html here using the second piece of code www.w3schools.com/tags/tag_select.asp)

but I've not found the place in your code to fix it

L.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
13 Anni 7 Mesi fa #3378 da Lyr!C
Risposta da Lyr!C al topic Number of Tickets - dropdown list issue
Sorry, in fact, option are between the two select, but i've made a little mistake in my code, that you site may not understand...

So, i will correct this in the future release (strange that you seems to be the only person to have this display bug...)

But now, you can try to edit this file :
ROOT/components/com_icagenda/views/list/registration.php

Edit this lines (arround line 338 depending of the version...):

NOTE just try to remove the "/" which is in code :
<select type="list" name="people"/>

That should be like this :
				<label><?php echo JText::_( 'ICAGENDA_REGISTRATION_FORM_PEOPLE' ); ?></label>
				<select type="list" name="people">
					<?php
						$maxRlist = $item->maxRlist;
						$maxReg = $item->maxReg;
						$registered = $item->registered;
						$placeRemain = ($maxReg - $registered);
						if ($placeRemain < $maxRlist) {
							$maxRlist = $placeRemain;
						}
						for ($i=1; $i <= $maxRlist; $i++) {
							echo '<option value="'.$i.'">'.$i.'</option>';
						}
					?>
				</select>

Thanks for you feedback if it's working now! ;)

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • lightningbit
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
13 Anni 7 Mesi fa #3386 da lightningbit
Risposta da lightningbit al topic Number of Tickets - dropdown list issue
Hi,

thanks

that seem to have fixed it
btw, it was the file public_html/components/com_icagenda/views/list/tmpl/registration.php
(I had to look in the directory tmpl)

I' testing the extension further

but it looks like a very nice extension (especially a clean look, which also works nice with complex templates)

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
13 Anni 7 Mesi fa #3396 da Lyr!C
Risposta da Lyr!C al topic Number of Tickets - dropdown list issue

lightningbit ha scritto: that seem to have fixed it
btw, it was the file public_html/components/com_icagenda/views/list/tmpl/registration.php
(I had to look in the directory tmpl)


Oh, yes, i've forgotten the tmpl folder... :whistle:

Nice if it is working now, and thanks for the report ! B)

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.088 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new