By Kevin on Thursday, 12 February 2015
Posted in Technical Issues
Replies 3
Likes 0
Views 507
Votes 0
Searching the back-end to create a language override for COM_EASYSOCIAL_BADGES_APPLICANT_TITLE returned no hits.

Funny thing is when I look at Achievements in the front-end, I see this is "Applicant".

However, when I look at the results returned from getBadges(); I receive string(37) "COM_EASYSOCIAL_BADGES_APPLICANT_TITLE"
Hello Eileen,

I believe the Joomla Language Override only search within the frontend language only. If you manually open this file: ../administrator/language/en-GB/en-GB.com_easysocial.ini , You will see the constant you are searching.
·
Thursday, 12 February 2015 10:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks again Nick for your help! I found the constant there as you suggested and actually I realize I had two problems. First, as you pointed out, the string was in the INI file and then I need to call this:

JText::_('COM_EASYSOCIAL_BADGES_APPLICANT_TITLE');


in order to get the title string for the badge and pass it on in my processing.
·
Thursday, 12 February 2015 11:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Eileen,

Yes, you need to use JText:: to call it from the language file.
·
Thursday, 12 February 2015 12:11
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post