Ads Banner Module not rendering properly on the frontend

Get help with installation and running official modules for phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Haasboy
Posts: 12
Joined: Mon 28. May 2012, 09:34

Ads Banner Module not rendering properly on the frontend

Post by Haasboy »

Hi All

I'm not sure if this is a rendering issue!

But the problem I'm having is that I'm setting the target for an ad banner to be "_blank", yet when it renders on the frontend there is no target attribute in the "a" element tag for the ad banner, yet when I do a print_r for testing purposes it displays the target attribute!

Does anybody know what could be the problem?

This is what the link looks like when the ad is rendered on the front end:

Code: Select all

<a title="http://www.explorekilimanjaro.com/" href="index.php?adclickval=3&url=http%3A%2F%2Fwww.explorekilimanjaro.com%2F&u=29cfe1acec7395be920e90e9f58c6e42&r=http%3A%2F%2Fjhbhiking.org.za%2Fbeta_2%2Fwelcome.html&c=0&a=7&k=e261d426310a97815d8e1dfbcd5e56e8">
<img alt="" style="width:200px;height:200px;" src="content/ads/3/20120527_explore_plus.jpg">
</a>
And when I do a print_r for testing purposes the target attribute exists!
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Ads Banner Module not rendering properly on the frontend

Post by Oliver Georgi »

Set banner type to Image instead of Flash.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Haasboy
Posts: 12
Joined: Mon 28. May 2012, 09:34

Re: Ads Banner Module not rendering properly on the frontend

Post by Haasboy »

Thanks Oliver, but I figured out what the problem was!
Post Reply