Order core/custom fields

More
13 years 11 months ago #9614 by Tom16
Order core/custom fields was created by Tom16
Hi,

I need to change the order of the core fields and put custom fields in between, lijke:

Firstname
Middlename
Lastname
e-mail
etc.

Any idea how to do this?


Tom

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

More
13 years 10 months ago #9888 by DJX
Replied by DJX on topic Re: Order core/custom fields
This is something I would like too. Is this possible?

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

More
13 years 7 months ago #11694 by thnght
Replied by thnght on topic Re: Order core/custom fields
Wow this is what i want to know too, plus can i reorder the custom fields with the billing fields. How come no reply to these posts?

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

More
13 years 7 months ago #11695 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Order core/custom fields
Hi

This is a good feature but I still haven't had a chance to work on it yet. Will try to have it ready in the extension in the next two weeks !

Regards,

Tuan

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

More
13 years 6 months ago #12172 by scottscott
Replied by scottscott on topic Re: Order core/custom fields
Exactly what I am looking to do as well! Any updates, or can you advise where this edit might be made?

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

More
13 years 5 months ago #12313 by asmalladshop
Replied by asmalladshop on topic Re: Order core/custom fields
I am looking to reorder the fields also. In the US, the form shows:
Address*
Address2
City*
Country*
State*
Zip

And we would like "Country" to be after "Zip"

thanks in advance Tuan!

Rich

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

More
13 years 5 months ago #12319 by thnght
Replied by thnght on topic Re: Order core/custom fields
I know how.

You go to components>com_eventbooking>views>register>tmpl>default.php

cut ahd paste the codes from 170-180 (see the below)

<?php
}
if ($this->config->s_country) {
?>
<tr>
<td class="title_cell">
<?php echo JText::_('EB_COUNTRY'); ?><?php if ($this->config->r_country) echo '<span class="required">*</span>'; ?>
</td>
<td class="field_cell">
<?php echo $this->lists; ?>
</td>
</tr>


to after line 218 ie the last portion of the code for zip display so your new codes will look like this from line 195-220 (after you cut and paste)


<?php
}
}
if ($this->config->s_zip) {
?>
<tr>
<td class="title_cell">
<?php echo JText::_('EB_ZIP'); ?><?php if ($this->config->r_zip) echo '<span class="required">*</span>'; ?>
</td>
<td class="field_cell">
<input type="text" class="inputbox" name="zip" value="<?php echo $this->zip; ?>" size="15" />
</td>
</tr>


<?php
}
if ($this->config->s_country) {
?>
<tr>
<td class="title_cell">
<?php echo JText::_('EB_COUNTRY'); ?><?php if ($this->config->r_country) echo '<span class="required">*</span>'; ?>
</td>
<td class="field_cell">
<?php echo $this->lists; ?>
</td>
</tr>



Hope this can help you. :)

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

More
13 years 5 months ago #12328 by asmalladshop
Replied by asmalladshop on topic Re: Order core/custom fields
worked like a charm, thanks!

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

Moderators: Tuan Pham Ngoc