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

TOPIC: DC prefix

DC prefix 15 years 1 month ago #5169

  • mason86
  • mason86's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
Are we able to change the DC prefix on confirmation numbers??

I want to be able to change it to our company initials, where would the files be?


Regards!

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

DC prefix 15 years 1 month ago #5172

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Hello. You can change this by modifying this file:

/components/com_dtregister/dtregister.php

Line 626: $confirmNum = "DC-".$x_invoice_num1;

Line 9438: $ses_invoiceno = "DC-".$x_invoice_num1;

Line 9918: $ses_invoiceno = "DC-".$x_invoice_num1;

Then for backend registrations...

/administrator/components/com_dtregister/admin.dtregister.php

Line 2911: $confirmNum = "DC-".$x_invoice_num1;

Line 12064: $confirmNum = "DC-".$x_invoice_num1;

Find these locations and change the "DC" to whatever you want. These line numbers are based on version 2.5.8. Thanks.

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

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