Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: [SOLVED] Re-order core fields

[SOLVED] Re-order core fields 14 years 2 months ago #9317

  • mike_hermary
  • mike_hermary's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hello,

I am looking for a way to re-order the core fields that are used by DT Register. I am needing to move the discount code field down to where the security code field is being displayed. Is there an easy way of doing this without editing the PHP files?

Any help would be greatly appreciated.

Thank you.

Mike

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

Joomla 1.5.14
DT Register 2.5.7a
PHP 5.2.14
MySQL 5.1.39

[SOLVED] Re-order core fields 14 years 2 months ago #9320

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Can't reorder those fields without modifying code. The upcoming version 2.7 puts both core and custom fields together so you can modify and reorder as needed.

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

[SOLVED] Re-order core fields 14 years 2 months ago #9321

  • mike_hermary
  • mike_hermary's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hello,

Do you have a timeline for when version 2.7 will be released?

Also, what PHP files would I need to modify to move the discount code field down to where the security code is being displayed?

Any help would be greatly appreciated. Thank you.

Mike

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

Joomla 1.5.14
DT Register 2.5.7a
PHP 5.2.14
MySQL 5.1.39

[SOLVED] Re-order core fields 13 years 5 months ago #13990

  • ggn_it
  • ggn_it's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Now that 2.7.5 is out, how would I move the discount code from the top of the registration form to the bottom? I can't seem to find that option easily.

Du

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

[SOLVED] Re-order core fields 13 years 5 months ago #13994

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
ggn_it... tagging on to an old thread here :) Yes, 2.7 has been out since Nov. 2010. Regarding the discount code, you'd have to modify this file:

/components/com_dtregister/views/event/tmpl/individualregister.php

Find this line:
echo $this->form;

Comment it out by changing it to:
// echo $this->form;

Then find this line above where you just were:
<?php if($this->tEvent->use_discountcode){?>

Right BEFORE this line, add this code in:
<?php  echo $this->form; ?>

Now the discount code will show after all other form fields, but before the captcha security image and terms / conditions check.

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

  • Page:
  • 1
Time to create page: 0.181 seconds