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

TOPIC: [SOLVED] Missing Class Attribute on Next Step Button

[SOLVED] Missing Class Attribute on Next Step Button 15 years 7 months ago #4246

  • nealb
  • nealb's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Using DTRegister 2.5.1b, on the page that allows a user to select his or her payment method, the "Next Step" button is without a style coding. It shows up as a regular button instead of using the template style. It just needs a class attribute to be added.

For a fix, open dtregister.php and around line 7247 you will see...
<input type="button" value="<?php echo JText::_( 'DT_NEXT_BUTTON' ); ?>" name="submitbtn" onClick="paymentform();"></td></tr>

Just change it to...
<input type="button" class="button" value="<?php echo JText::_( 'DT_NEXT_BUTTON' ); ?>" name="submitbtn" onClick="paymentform();"></td></tr>

and it's fixed.

While you're at it, see line 6901 and add the same
class="button"
attribute to that tag, too. :wink:

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

[SOLVED] Missing Class Attribute on Next Step Button 15 years 7 months ago #4251

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
This was fixed in the 2.5.2 release of DT Register :)

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

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