Default Heading text

  • Fra Tabs
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 4 months ago #119978 by Fra Tabs
Default Heading text was created by Fra Tabs
What file does the php code refer to to obtain the <h> tag titles, such as:

(JText::_('JD_CHOOSE_SELECT_AMOUNTS'))

I would like to change the default text in the reference file rather than directly on the php

Is it loading from an XML?

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

More
5 years 4 months ago #120017 by Mr. Dam
Replied by Mr. Dam on topic Default Heading text
Hi,
It's place in Donation layout, they are in:
root -> components -> com_jdonation -> view -> donation -> tmpl -> default.php and simpleflow_layout.php
Thanks
Dam

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

  • Fra Tabs
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 4 months ago #120031 by Fra Tabs
Replied by Fra Tabs on topic Default Heading text
Yes I know where it appears, but is there an external reference file that picks up the text, as JD_CHOOSE_SELECT_AMOUNTS is a reference to another file where this code appears, is that correct?

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

More
5 years 4 months ago #120069 by Mr. Dam
Replied by Mr. Dam on topic Default Heading text
Sorry, i am not sure with your idea?
Dam

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

  • Fra Tabs
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 4 months ago #120075 by Fra Tabs
Replied by Fra Tabs on topic Default Heading text
Basically the area with in the brackets bellow:
Code:
<h3 class="jd-heading"><?php echo JText::_('JD_CHOOSE_SELECT_AMOUNTS'); ?></h3>

does the Text:: correspond to an external file that collects the output? Is this an xml file?
Or is it through a PO file?

I understand that the text can be added in the brackets, but I would like to know where it collects it from all the same

Thanks

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

More
5 years 4 months ago #120117 by Trevor Smith
Replied by Trevor Smith on topic Default Heading text
I think you will find what you are looking for by clicking on 'Translations' in the JD control panel:

regards
Trevor
The following user(s) said Thank You: Fra Tabs

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

  • Fra Tabs
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 4 months ago #120119 by Fra Tabs
Replied by Fra Tabs on topic Default Heading text
I've been looking for these for a while, thought it was for language translation not the codes.

Thanks

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

Moderators: Mr. DamDũng Nguyễn Việt