Editing Jtext event

  • Kelvin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #85257 by Kelvin
Editing Jtext event was created by Kelvin
Hi =]

I've recently had to develop for myself so I'm learning on the fly and I'm really weak in Javascript. I have a client I'm setting up class registrations for so I want to change all the fields from 'event' to 'class' i.e. Event date > Class date, however I don't know how to follow the Jtext events.

For example I can find this in the php:
<?php echo JText::_('EB_REGISTRATION_START_DATE'); ?>

But I cannot find where this is pulling the text string from.

Sorry for my ineptitude, any help is appreciated =]

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

More
9 years 7 months ago - 9 years 7 months ago #85279 by James Riley
Replied by James Riley on topic Editing Jtext event
Thankfully, you don't need to know Javascript to make the changes you want to make :)

You will most likely want to make the changes via the Translation Manager (see docs at eventbookingdoc.joomservices.com/basic-setup/translation ). Note that the TM has several pages worth of keys & values and you likely won't see the key you're looking for on page 1. The fastest way to find what you're after is to use the Filter box at the top of the TM, and enter part of the key (or your best guess as to a word that the key contains) that you're looking for (eg: filter for "START" to short-list all the keys that contain that word, and find the "EB_REGISTRATION_START_DATE" key that you want to alter). Note: you can only filter by key and not by value.

You *can* also make changes directly to the /languages/en-GB/en-GB.com_eventbooking.ini (or whatever language you use -- this example would be for ENglish-GreatBritan) as the TM is really just a GUI (graphical user interface) editor for this file. If you can't find the right key in via the TM's filter, you can search for both key and value text within this file using your favourite text editor.

Lastly, if what you want to change is NOT located in the TM, then try looking in the Emails and Messages control panel (see eventbookingdoc.joomservices.com/basic-setup/emails-messages ).

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Last edit: 9 years 7 months ago by James Riley.
The following user(s) said Thank You: Tuan Pham Ngoc, Kelvin

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

  • Kelvin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #85310 by Kelvin
Replied by Kelvin on topic Editing Jtext event
Oh, right. that TM is such a cool feature! Thank you so much for pointing it out =]

I'm consistently amazed at how many features this plugin offers.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 7 months ago #85353 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Editing Jtext event
Thanks for your nice words Kevin. The extension is good now, but we are still working to improve it to make it better :)

Tuan

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

Moderators: Tuan Pham Ngoc