Main menu

Forum


× Help Forum English

[SOLVED] Number of Tickets - dropdown list issue

  • lightningbit
  • Topic Author
  • New Member
  • New Member
More
11 years 2 weeks ago - 11 years 1 week ago #3372 by 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
Attachments:
Last edit: 11 years 1 week ago by Lyr!C.

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 1 week ago #3375 by Lyr!C
Replied by Lyr!C on 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 3.9.3
We recommend every user to keep iCagenda updated.
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 Attachment:

Please Log in or Create an account to join the conversation.

  • lightningbit
  • Topic Author
  • New Member
  • New Member
More
11 years 1 week ago #3377 by lightningbit
Replied by lightningbit on 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.

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 1 week ago #3378 by Lyr!C
Replied by Lyr!C on 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 3.9.3
We recommend every user to keep iCagenda updated.
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 Attachment:

Please Log in or Create an account to join the conversation.

  • lightningbit
  • Topic Author
  • New Member
  • New Member
More
11 years 1 week ago #3386 by lightningbit
Replied by lightningbit on 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)

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 1 week ago #3396 by Lyr!C
Replied by Lyr!C on topic Number of Tickets - dropdown list issue

lightningbit wrote: 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 3.9.3
We recommend every user to keep iCagenda updated.
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 Attachment:

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.120 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new