Main menu

Forum


× Help Forum English

[SOLVED] Number of Tickets - dropdown list issue

  • lightningbit
  • Auteur du sujet
  • Membre junior
  • Membre junior
Plus d'informations
il y a 13 ans 7 mois - il y a 13 ans 7 mois #3372 par lightningbit
[SOLVED] Number of Tickets - dropdown list issue a été créé par 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
Pièces jointes :
Dernière édition: il y a 13 ans 7 mois par Lyr!C.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 13 ans 7 mois #3375 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • lightningbit
  • Auteur du sujet
  • Membre junior
  • Membre junior
Plus d'informations
il y a 13 ans 7 mois #3377 par lightningbit
Réponse de lightningbit sur le sujet 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.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 13 ans 7 mois #3378 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • lightningbit
  • Auteur du sujet
  • Membre junior
  • Membre junior
Plus d'informations
il y a 13 ans 7 mois #3386 par lightningbit
Réponse de lightningbit sur le sujet 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)

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 13 ans 7 mois #3396 par Lyr!C
Réponse de Lyr!C sur le sujet Number of Tickets - dropdown list issue

lightningbit écrit: 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.100 secondes

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new