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

TOPIC: Edit display of [ALL_FIELDS] in admin notification

Edit display of [ALL_FIELDS] in admin notification 7 years 10 months ago #26642

  • BettyBacon
  • BettyBacon's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I would like to edit the way the custom fields are displayed in my admin notification email to make it easier to read when we print it out. Probably will just make the information bold. Where do I find the ALL_FIELDS template in 3.1.13 running on Joomla 3.6.5?

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

Last Edit: by BettyBacon. Reason: adding info on system version

Edit display of [ALL_FIELDS] in admin notification 7 years 10 months ago #26643

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
You'll need to modify this file:
/administrator/components/com_dtregister/lib/tagparser.php

Around line 304 find this:
$txt_parts[] = stripslashes($fieldTable->label).': '.$value;

That is pulling the field label, then a colon :, then the field value. Modify as needed, but realize that this file will be replaced on future updates of the component, so you'll have to re-apply your modification to updated files whenever you update.

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

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .
  • Page:
  • 1
Time to create page: 0.415 seconds