Results 1 to 2 of 2

Thread: x

  1. #1
    Join Date
    Sep 2007
    Posts
    8

    Default x

    xyz

  2. #2
    Join Date
    Oct 2007
    Posts
    6

    Default Re: How to put more new video's on Homepage.

    easy:
    original:

    Code:
    	<tr valign="top">
    	{section name=i loop=$new_video start=0 max=4}
    	<td width="25%" align="center" onmouseout="this.style.backgroundColor='#e1e4f2';" onmouseover="this.style.backgroundColor='#ffff99';"><a href="{$baseurl}/view/{$new_video[i].VID}/{$new_video[i].title|lower|regex_replace:"/[^a-z0-9]+/":"-"}/">[img]{$tmburl}/1_{$new_video[i].VID}.jpg[/img]
    {$new_video[i].title}</a></td>
    	{/section}
    	</tr>
    doubled:

    Code:
    	<tr valign="top">
    	{section name=i loop=$new_video start=0 max=4}
    	<td width="25%" align="center" onmouseout="this.style.backgroundColor='#e1e4f2';" onmouseover="this.style.backgroundColor='#ffff99';"><a href="{$baseurl}/view/{$new_video[i].VID}/{$new_video[i].title|lower|regex_replace:"/[^a-z0-9]+/":"-"}/">[img]{$tmburl}/1_{$new_video[i].VID}.jpg[/img]
    {$new_video[i].title}</a></td>
    	{/section}
    	</tr>
    
    	<tr valign="top">
    	{section name=i loop=$new_video start=4 max=4}
    	<td width="25%" align="center" onmouseout="this.style.backgroundColor='#e1e4f2';" onmouseover="this.style.backgroundColor='#ffff99';"><a href="{$baseurl}/view/{$new_video[i].VID}/{$new_video[i].title|lower|regex_replace:"/[^a-z0-9]+/":"-"}/">[img]{$tmburl}/1_{$new_video[i].VID}.jpg[/img]
    {$new_video[i].title}</a></td>
    	{/section}
    	</tr>

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
  •