Re: Showing Video Page Ads
The tag is:
Code:
{insert name=advertise adv_name='video_right_single'}
And you add it to the view_video.tpl file. You can add it where you wish within that file. This file is what controls the video page so you can modify it however you need.
Re: Showing Video Page Ads
I think you couldn't get me.
I mean what is the default code that is shown on video_right_single advertising menu from admin panel.
Can anyone give me the default code that is shown on video_right_single, as I accidently deleted it and pasted my ad code there by replacing the default?
Thanks
Re: Showing Video Page Ads
Oh I see what you mean. Actually, the default code is just some text saying "ADV HERE."
Re: Showing Video Page Ads
No,Its not that ,I am quite sure about that.
That default code had 5-6 lines of codes.
If you can give me I will be most happy.
Also if anyone can tell me how to create custom adboxes on video page I will be thankful to him(giving any code) .
Thanks
Re: Showing Video Page Ads
Yeah, it was 5 or 6 lines of code (a basic table) that said ADV HERE. It was nothing special. I don't have the original code anymore, but that is all that it said. You can easily recreate that if you know any HTML.
Re: Showing Video Page Ads
Here is the complete section you deleted...
<div class="section bg2">
<div class="hd">
<div class="hd-l">Watch</div>
</div>
<table cellspacing=0 cellpadding=0 width=298 border=0 >
<tr>
<td align="middle" width="104" style="padding-left:5px;">
{if $video_prev === ''}
[img]{$baseurl}/templates/images/no_prev.gif[/img]
< PREV
{else}
<a href="{$baseurl}/view/{$related_videos[$video_prev].VID}/{$related_videos[$video_prev].seo_name}/">
[img]{$tmburl}/1_{$related_videos[$video_prev].VID}.jpg[/img]</a>
<div style="font-weight: bold; font-size: 10px; padding-top: 3px">
< PREV
</div>
{/if}
</td>
<td align="center" style="padding-top:10px;">
{insert name=adv_status assign=status adv_name='video_right_single'}
{if $status eq "Active"}
{insert name=advertise adv_name='video_right_single'}
{else}
{if $smarty.request.id ne "" }
[img]{$tmburl}/1_{$smarty.request.id}.jpg[/img]<div style="font-weight: bold; font-size: 10px; padding-top: 3px">NOW PLAYING</div>
{/if}
{/if}
</td>
<td align="center" style="padding-left:8px;">
{if $video_next eq ""}
[img]{$baseurl}/templates/images/no_next.gif[/img]
NEXT >
{else}
[img]{$tmburl}/1_{$related_videos[$video_next].VID}.jpg[/img]
<div style="font-weight: bold; font-size: 10px; padding-top: 3px">
NEXT >
</div>
{/if}
</td>
</tr>
</table>
</div>