- Posts: 12
- Thank you received: 0
Custom Fields Order at Billing Fields
- adyit
- Topic Author
- Away
- New Member
-
Less
More
12 years 9 months ago #17776
by adyit
Custom Fields Order at Billing Fields was created by adyit
Hello together,
i am looking for a solution to add a custom field at the first position.
The reason for that is, that i need the field: MRS or MR.
After this is the firstname and lastname field.
Any idea for me?
i am looking for a solution to add a custom field at the first position.
The reason for that is, that i need the field: MRS or MR.
After this is the firstname and lastname field.
Any idea for me?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
12 years 9 months ago #17831
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Custom Fields Order at Billing Fields
Hi
Unfortunately, in the current version of EB, you cannot move custom fields above the basic fields (First Name, Last Name...). So in this case, I think you will have to modify code to add that field to the form. Please have a look at the following files and you should be able to do it :
components/com_eventbooking/views/register/tmpl/default.php
components/com_eventbooking/views/register/tmpl/group_billing.php
components/com_eventbooking/views/register/tmpl/cart.php
Regards,
Tuan
Unfortunately, in the current version of EB, you cannot move custom fields above the basic fields (First Name, Last Name...). So in this case, I think you will have to modify code to add that field to the form. Please have a look at the following files and you should be able to do it :
components/com_eventbooking/views/register/tmpl/default.php
components/com_eventbooking/views/register/tmpl/group_billing.php
components/com_eventbooking/views/register/tmpl/cart.php
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- adyit
- Topic Author
- Away
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
12 years 9 months ago #18042
by adyit
Replied by adyit on topic Re: Custom Fields Order at Billing Fields
Hey, thank you for your help - yes i tried this but the problem is if i add the field manuel to the form i get this field twice time in the form because i have to enable this field at the custom fields in the backend. You see what i mean at the screenshot.
I hope you can give me an other tip for me, thx again
components/com_eventbooking/views/register/tmpl/default.php
<tr>
<td class="title_cell" width="30%">
Anrede<span class="required">*</span>
</td>
<td class="field_cell">
<input type="radio" class="inputbox" name="eb_Anrede" value="Frau" size="25" />Frau
<input type="radio" class="inputbox" name="eb_Anrede" value="Herr" size="25" />Herr
</td>
</tr>
I hope you can give me an other tip for me, thx again
components/com_eventbooking/views/register/tmpl/default.php
<tr>
<td class="title_cell" width="30%">
Anrede<span class="required">*</span>
</td>
<td class="field_cell">
<input type="radio" class="inputbox" name="eb_Anrede" value="Frau" size="25" />Frau
<input type="radio" class="inputbox" name="eb_Anrede" value="Herr" size="25" />Herr
</td>
</tr>
Please Log in or Create an account to join the conversation.
- Nathan Morrow
-
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 3
12 years 8 months ago #18552
by Nathan Morrow
Replied by Nathan Morrow on topic Re: Custom Fields Order at Billing Fields
Hi there,
I've been working on doing the same thing this morning.
Basically the solution in that you're going to have to comment out the bit of code that calls in all of the cutom fields on mass and you are going to have to add each custom field manually to the template file.
You can use a template override to do your modifications so you won't be messing with any of the core Events Booking files.
Override should live in:
$template/html/com_eventbooking/register/default.php
Hope that helps.
I've been working on doing the same thing this morning.
Basically the solution in that you're going to have to comment out the bit of code that calls in all of the cutom fields on mass and you are going to have to add each custom field manually to the template file.
You can use a template override to do your modifications so you won't be messing with any of the core Events Booking files.
Override should live in:
$template/html/com_eventbooking/register/default.php
Hope that helps.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
12 years 8 months ago #18569
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Custom Fields Order at Billing Fields
Yes, snaffle, that's the correct solution, thanks for sharing it. If you know some PHP programming, that should be easy .
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.