Moving position of "register" button

  • Malcolm Silver
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 5 months ago #12516 by Malcolm Silver
Moving position of "register" button was created by Malcolm Silver
Hi

I would like to move the position of the "register" button and move it further up the page. Can you tell me how to do this?

Many thanks

Malcolm

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

More
13 years 5 months ago #12531 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Moving position of "register" button
Hi

In this case, you will need to modify the code in the component. There are 3 files which you need to modify :

- components/com_eventbooking/views/register/tmpl/default.php
- components/com_eventbooking/views/register/tmpl/group.php
- components/com_eventbooking/views/register/tmpl/cart.php

Tuan

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

  • Malcolm Silver
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 5 months ago #12538 by Malcolm Silver
Replied by Malcolm Silver on topic Re: Moving position of "register" button
Hi Tuan

Thanks for that. I have got the files but can't see where I can actually change the position of the button. I'm probably being a bit dense, but could you point me in the right direction..

Thanks
Malcolm

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

  • Malcolm Silver
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 5 months ago #12684 by Malcolm Silver
Replied by Malcolm Silver on topic Re: Moving position of "register" button
Hi

Are you able to give me any help on this one??

Thanks

Malcolm

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

More
13 years 5 months ago #12699 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Moving position of "register" button
Hi

1. Please open one of the above files, for example components/com_eventbooking/views/register/tmpl/default.php

2. Find the code below (that's the code for the Register button)
Code:
<input type="button" class="button" name="btnSubmit" value="<?php echo JText::_('EB_REGISTRATION_CONFIRMATION') ;?>" onclick="checkData();">

3. Move that code to anywhere you want in the form.

You can use the solution I mentioned above for the above files .

Tuan

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

  • Malcolm Silver
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 5 months ago #12702 by Malcolm Silver
Replied by Malcolm Silver on topic Re: Moving position of "register" button
Hi
This seems to refer to the wrong button - ie confirm registration. Not the "Register (Individual) button which appears below the event properties box. Am I missing something here?
Many thanks
Malcolm

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

Moderators: Tuan Pham Ngoc