Search in support tickets

#107 – Related ads modul aligment

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.
Tuesday, 14 November 2017 11:20 CET
veselinovm
Hi again,
is it possible to align all ads in module?
Some description texts are longer, some ads do not have it at all. I think that breaks alignment.
Is it possible to fix that?

http://www.polovni-autodelovi.rs/oglas/249-ceo-auto-u-delovima/3239-pezo-partner-peugeot-delovi

Thanks
Custom Fields
Joomla Version
3.8.2
PHP Version
7
Product
AdsManager
Product Version
3.11
Wednesday, 15 November 2017 09:33 CET
loic
Hello,

You need to reduce the amount of characters allowed to be displayed in the modules in templates/adsclarity/html/mod_adsmanager_ads/horizontal.php, line 78 and 79:
$af_text = JString::substr($row->ad_text, 0, 100);
if (strlen($row->ad_text)>100) {


Change the 100 to a lower number.

Best regards.
 
Wednesday, 15 November 2017 10:44 CET
veselinovm
Thanks!
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.