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

TOPIC: [SOLVED] Change "Moderator" text

[SOLVED] Change "Moderator" text 13 years 4 months ago #14396

  • logicjacob
  • logicjacob's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
HI,

Is there a way to change the text that gets displayed on the events list view for Moderator?

so when you are viewing the list of courses is says 'Teacher' or 'Lecturer' instead of 'Moderator' (see attachment)

Cheers,
Jacob
Attachments:

  • Rendering Error in layout Attachment/Item: Property "protected" is not defined. Please enable debug mode for more information.

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

[SOLVED] Change "Moderator" text 13 years 4 months ago #14397

  • logicjacob
  • logicjacob's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
did some digging and ended up finding it.

for those interested its in:
components\com_dtregister\views\event\tmpl\list_moderator.php line 44

remove "JText::_('DT_MODERATOR')" and replace with the text you want to be displayed.

Cheers,
Jacob

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

[SOLVED] Change "Moderator" text 13 years 4 months ago #14399

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Jacob,

This is NOT how you want to address this text change!! As with almost all extensions, the text is pulled from a language file. You don't need to dig into any PHP files here to make any such changes. Especially considered changing what you did will only affect that one location... not the calendar or other places.

The correct method to change is in the language file:

/language/en-GB/en-GB.com_dtregister.ini

This is the English file location. If you are using a different language file, go into the appropriate language folder. Search for the text you want to change, make your change and upload the modified file. Thanks!

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

[SOLVED] Change "Moderator" text 13 years 4 months ago #14400

  • logicjacob
  • logicjacob's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
haha so thats how that works...

ok cool i figured it would only change it on that page, but i was looking though the database and things trying to find where it stores all its terms and couldnt find it. :oops:

now i know

awesome thanks.

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

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