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

TOPIC: Field labels - how to remove colons

Field labels - how to remove colons 15 years 7 months ago #4131

  • lswaine
  • lswaine's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
How would I go about eliminating the colons that show up at the end of the field labels (both default and custom) on the event registration form page? I've taken a look through a number of the .php files, but I'm just not sure exactly what I'm looking for. I'm not really a coder, but most of the time I can fake my way through minor modifications without help -- this just isn't one of those times. Could you please just point me to the file I need to modify, and let me know what I'll need to change or delete to get rid of those colons? I'd really appreciate it -- thanks!

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

Field labels - how to remove colons 15 years 7 months ago #4137

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
The only way to remove those is in the actual php file.
/components/com_dtregister/dtregister.php

Search for this:

<?php echo JText::_( 'DT_FIRSTNAME' );?>:

This is pulling in the field label "First Name". You can see the : at the end right after the language tag. You can remove that colon there. Finding the FIRSTNAME tag will locate the start of any form areas that would have the : and you can just filter down from each of those spots to hit the other fields.

If you are using the Country field, you will need to remove the colon in this file:
/components/com_dtregister/country.htm

Hope that helps.

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

Field labels - how to remove colons 15 years 7 months ago #4164

  • lswaine
  • lswaine's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
This worked perfectly -- thank you!

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

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