How To: Align Videos to the top
On the main page, if the videos have different lengths to the name,the thumbnail images look a bit jumbled.
To make it all even out open index.tpl
LOOK FOR
Code:
<td width="25%" align="center">
<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}
REPLACE WITH
Code:
<td width="25%" align="center" valign="top">
<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}
Re: How To: Align Videos to the top
that was on my list of little things to fix when i get free time to look at...now i dont have to, cheers :)
Re: How To: Align Videos to the top
It's also in a couple of other places I noticed later tonight.
Basically look for
Code:
<td width="25%" align="center">
and stick in the valign="top". When I remember where this happens on the other pages, I'll post an update.
Re: How To: Align Videos to the top
Thanks for the fix. I have updated the template and will be available in next release.
Instead of adding to each <td> add it on <tr>, will do for all td's
Re: How To: Align Videos to the top
Oh duh, yeah. LOL Thanks ADMIN!!! You rock!!
Re: How To: Align Videos to the top
It would be great if there was a place in control panel where we could set the max number of title characters displayed on the front page. I dont mind if someone types a really long title to a video in general, but I really don't care for the thought of what it will do to my recent videos list on the front page.
Re: How To: Align Videos to the top
Maybe as admin you can go in and change it when that happens.
It's good to be the admin. ;)