Format is off when adding location from front end

  • Jim Chandless
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 1 month ago - 13 years 1 month ago #23389 by Jim Chandless
When trying to add a location from the front end, the location form is formatted horizontal instead of vertical. Possibly a template issue on my end, but can you point me in the direction where this form is constructed so I can adjust my template if necessary? I have to have the ability to add locations from the front for my select group of users, but this formatting will not work. Thank you.



Correction! This appears to only be the case with Firefox. IE and Chrome both format fine. Any ideas as to what is causing this in Firefox?
Last edit: 13 years 1 month ago by Jim Chandless.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
13 years 1 month ago #23396 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Format is off when adding location from front end
Hi Jim

The file is located at components/com_eventbooking/views/addlocation/tmpl/default.php . Please try to edit that file to get the issue sorted

Tuan

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

More
13 years 1 month ago #23547 by trevor watson
Replied by trevor watson on topic Re: Format is off when adding location from front end
I too have the same issue but don't know what to edit in the file - please can you advise?

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
13 years 1 month ago #23562 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Format is off when adding location from front end
Hi Trevor

In this case, please submit a support ticket sending us administrator and FTP account of your site so that we can check and solve it for you.

Tuan

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

More
12 years 7 months ago - 12 years 7 months ago #32787 by Trevor Smith
Hi

I am also seeing this in Firefox, what do I need to edit?

Thanks
Trevor

Edit. . .
Solved the problem by editing components/com_eventbooking/views/addlocation/tmpl/default.php
The form needs to be put inside a DIV as follows:
Code:
</div> <div style="float: left;"> <form action="index.php" method="post" name="adminForm" id="adminForm">
And at the bottom of the form close off the DIV
Code:
<?php echo JHTML::_( 'form.token' ); ?> </form> </div>
Last edit: 12 years 7 months ago by Trevor Smith. Reason: Found a solution

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
12 years 7 months ago #32863 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Format is off when adding location from front end
Thanks Trevor. Working on a new version at the moment (many big improvements) and will add this fix to latest version !

Tuan

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

Moderators: Tuan Pham Ngoc