Quote:
Originally Posted by TomasDR
Also having an issue showing the banners for Premium Services. It's shows just a text link back to the YellowPages entry. It was my understanding you could show an actual banner as in the 1st screen shot.
|
Just a thought here, I modified my own install to make more sense.
I finally noticed the place to specify the banner under Premium that has to be in the directory "/images/vbyellowpage/banner". But on the other hand you already have a spot to specify the banner location on the Entry Page, which is nice if you are using off site banners OR have ad management software for other parts of your site. So I modified the Template "vbyellowpage_premium_forum" feel free to use this code if you like. This way there is no need to have multiple copies of banners everywhere.
Old:
Code:
<div>
<center>
<br />
<a href="{vb:raw row.url}" title="{vb:raw row.name}"><img src="{vb:raw stylevar.imgdir_vbyellowpage_banner}/{vb:raw row.add_3_picture}" class="forumicon" id="forum_statusicon_{vb:raw row.id}" alt="{vb:raw row.name}" border="0" /></a>
<br /><br />
</center>
</div>
New:
Code:
<vb:if condition=(!empty($row['add_3_picture']))>
<div>
<center>
<br />
<a href="{vb:raw row.url}" title="{vb:raw row.name}"><img src="{vb:raw stylevar.imgdir_vbyellowpage_banner}/{vb:raw row.add_3_picture}" class="forumicon" id="forum_statusicon_{vb:raw row.id}" alt="{vb:raw row.name}" border="0" /></a>
<br /><br />
</center>
</div>
<vb:else />
<div>
<center>
<br />
<a href="{vb:raw row.url}" title="{vb:raw row.name}"><img src="{vb:raw row.banner}" class="forumicon" id="forum_statusicon_{vb:raw row.id}" alt="{vb:raw row.name}" border="0" /></a>
<br /><br />
</center>
</div>
</vb:if>