Results 1 to 4 of 4

Thread: video_right_single

  1. #1
    Join Date
    Feb 2008
    Posts
    14

    Default video_right_single

    video_right_single Not showing up any ideas???

  2. #2

    Default Re: video_right_single

    Quote Originally Posted by deansaddigh
    video_right_single Not showing up any ideas???

    Look on the page where you watch a video and it should show up in the middle of the "Watch" area. Where the now playing, next, previous is.

  3. #3
    Join Date
    Feb 2008
    Posts
    14

    Default Re: video_right_single

    Thanks Very Much.

  4. #4
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: video_right_single

    There is also an issue with that box. It's totally misaligned and there's a mistake in the html.

    around line 245 look for
    Code:
    <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]
    &lt; 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">
    &lt; 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 &gt;
    {else}
    [img]{$tmburl}/1_{$related_videos[$video_next].VID}.jpg[/img]
    <div style="font-weight: bold; font-size: 10px; padding-top: 3px">
    NEXT &gt;
    </div>
    {/if}
    </td>
    
    </tr>
    </table>
    That's the entire box....now....where it says at the top there:

    Code:
    <table cellspacing=0 cellpadding=0 width=298 border=0 >
    Change that to

    Code:
    <table cellspacing=0 cellpadding=0 width="100%" border=0 >
    Then where it says right under that:

    Code:
    <td align="middle" width="104" style="padding-left:5px;">
    There is no such thing as align="middle"...it should be valign="middle" so...

    Change it to
    Code:
    <td valign="middle" width="104" style="padding-left:5px;">
    Then to get them to be "even" in each <td>... add or change the width to 33%

    Code:
    width="33%"
    This will evenly space everything.

    Here's the completed code for the box so it should look like this when you get done (or just copy and paste this in place of the existing code):
    Code:
    <table cellspacing=0 cellpadding=0 width="100%" border=0 >
    <tr>
    
    <td valign="middle" align="center" width="33%"  style="padding-left:5px;">
    
    {if $video_prev === ''}
    [img]{$baseurl}/templates/images/no_prev.gif[/img]
    &lt; 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">
    &lt; PREV
    </div>
    {/if}
    </td>
    
    <td valign="middle" align="center" width="33%" 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 valign="middle" align="center" width="33%" style="padding-left:8px;">
    {if $video_next eq ""}
    [img]{$baseurl}/templates/images/no_next.gif[/img]
    NEXT &gt;
    {else}
    [img]{$tmburl}/1_{$related_videos[$video_next].VID}.jpg[/img]
    <div style="font-weight: bold; font-size: 10px; padding-top: 3px">
    NEXT &gt;
    </div>
    {/if}
    </td>
    
    </tr>
    </table>
    If it's not fun, stop doing it!

Similar Threads

  1. HELP - Need Original for video_right_single
    By EinfachClicken in forum Installation Support
    Replies: 6
    Last Post: 10-07-2008, 03:03 PM
  2. video_right_single not centered
    By grynmoors in forum Template Modifications
    Replies: 0
    Last Post: 11-09-2007, 09:53 PM
  3. video_right_single not displayed
    By nocomp in forum Installation Support
    Replies: 3
    Last Post: 11-08-2007, 01:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •