Search in support tickets

#169 – Image price showing twice

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.
Friday, 15 December 2017 12:05 CET
hvtechnology
Hello,

On ads creation page at tab of images the text of 'ADSMANAGER_IMAGE_PRICE_WITH_FREE_IMAGES' is showing twice. (See the image attached) I checked the edit page and I see this function:

<?php echo TImage::displayImageUploader($this->conf,$this->content); ?>

Also I checked the function displayImageUploader of class TImage and there is no where a placement of this text. I think that is inserted by javascript but, I dont know how to edit it.

Please give me a solution.

Thank you!
Custom Fields
Joomla Version
3.8.1
PHP Version
5.6
Product
AdsManager
Product Version
3.1.11
Attachment
Monday, 18 December 2017 00:57 CET
juloaadmin
It's in paidsystem view/edit

<?php
$html = '';
if ($adsmanager_conf->nb_images == 0) {
$html = sprintf(JText::_('ADSMANAGER_IMAGE_PRICE_WITHOUT_FREE_IMAGES'), getPrice($conf->image_price));
} elseif($conf->num_images > 0) {
$html = sprintf(JText::_('ADSMANAGER_IMAGE_PRICE_WITH_FREE_IMAGES'),$adsmanager_conf->nb_images,getPrice($conf->image_price));
}?>
jQ('#uploader_td').prepend(<?php echo json_encode($html) ?>);


 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.