Search in support tickets

#235 – Overriding "Ad" (Ad#1477)

Posted in ‘Support’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 01 February 2018 21:41 CET
mshihan
Hello Loic,

I am trying to override "Ad" (Ad#1477) to "Item" (Item#1477) from detail view of ads. I did try to override it with this string ADSMANAGER_AD using language override, but cannot find a solution. Could you please check and tell me the correct string.

Please see the attached image.

Best Regards
Custom Fields
Joomla Version
3.8.4
PHP Version
7.0.27
Product
AdsManager
Product Version
3.1.11
Attachment
Friday, 02 February 2018 15:29 CET
loic
Hello,

The override didn't work ? Are you sure that you've selected the right language in the dropdown on the left of the override list ?

Best regards.
 
Saturday, 03 February 2018 05:02 CET
mshihan
Hello Loic,

Yes I have selected right language. There is no string for "Ad"
Monday, 05 February 2018 16:04 CET
loic
Hello,

Could you open the file 'templates/adsclarity/html/com_adsmanager/details/default_jssor.php' and check the line 199 :
<span><?php echo TText::_('ADSMANAGER_AD')?> <strong>#<?php echo $this->content->id ?></strong></span>


if you don't have the constant, replace your line by this one.

Best regards.
 
Thursday, 08 February 2018 08:49 CET
mshihan
Hello Loic,

The line is 94. But replace by which one?
Thursday, 08 February 2018 15:14 CET
loic
Hello,

the one I gave you in my last message :
<span><?php echo TText::_('ADSMANAGER_AD')?> <strong>#<?php echo $this->content->id ?></strong></span>


Best regards.
 

Please rate this ticket

Help us improve our support services by rating this ticket from one to five stars, according to how much you are satisfied from the handling of this ticket, one being not satisfied and five being very satisfied.