Jump to content


Photo

Padding hardcoded for IPSAdCodeNexus


In IPSAdCodeNexus::getAdById() the advertisement is always returned with an hardcoded padding/HTML:
return "<div align='{$align}' style='padding: 10px'><a href='{$url}' target='_blank'><img src='{$ad['ad_image']}' /></a></div>";

We need to move that to some kind of template since the file is encoded and peoples can't edit it.

Status: Fixed
Version:
Fixed In:


10 Comments

Updating status to: Not a Bug
Then no way to remove: style='padding: 10px' ?
Mark will add a CSS class in that div for nexus 1.1.2, you'll be able to change it with CSS :)
:thumbsup:

Mark will add a CSS class in that div for nexus 1.1.2, you'll be able to change it with CSS :)


Any detail on this class? Where to find?
Updating status to: UNFILED
Updating version to: None

Unless I'm missing something I can't find it either :huh:
Updating status to: Fixed
What's the fix?
Upgrade to 1.3.0 when it's released ;)
OK. ETA?