Results 1 to 7 of 7

Thread: number of videos on home page

  1. #1
    Join Date
    Jan 2008
    Location
    Miami,FL
    Posts
    7

    Default number of videos on home page

    hey guys how do i make my home page display 4 videos instead of 5 in one row. I'm trying to make my thumbnails bigger which i got done but its throwing the page out of proportions.

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

    Default Re: number of videos on home page

    Oh good question, I know that for the channels, if you change the "mod" number in
    Code:
    {if $smarty.section.i.index mod 4 eq "0" and $smarty.section.i.index gt "0"}
    that it changes it... I'm wondering if changing the numbers in
    Code:
    {if $smarty.section.i.index == 4}
    {if $smarty.section.i.index == 9}
    {if $smarty.section.i.index == 14}
    in index.tpl will do it or something along those lines.
    If it's not fun, stop doing it!

  3. #3
    Join Date
    Jan 2008
    Location
    Miami,FL
    Posts
    7

    Default Re: number of videos on home page

    after so many tries I got it to work.
    numbers are 3-7-11

    thanks for pointing it out Grynmoors, when i looked it before i posted the topic I didnt think that it has something to do with it.

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

    Default Re: number of videos on home page

    Oh good, so I was on the right track. kewl! Glad it worked for you!
    If it's not fun, stop doing it!

  5. #5

    Default Re: number of videos on home page

    I'm not understanding. So how do we get the thumbs to only display 4 in a row? So for example, if I turn on 8 thumbs in the admin, I want it to display 4 per row not 5

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

    Default Re: number of videos on home page

    in index.tpl find:

    Code:
    {if $smarty.section.i.index == 4}
    {if $smarty.section.i.index == 9}
    {if $smarty.section.i.index == 14}
    According to the previous post, you change the 4, 9 and 14 to 3, 7, 11 so that it looks like this:

    Code:
    {if $smarty.section.i.index == 3}
    {if $smarty.section.i.index == 7}
    {if $smarty.section.i.index == 11}
    I haven't personally tried this, but that's what I got out of the post.
    If it's not fun, stop doing it!

  7. #7

    Default Re: number of videos on home page

    Quote Originally Posted by grynmoors
    in index.tpl find:

    Code:
    {if $smarty.section.i.index == 4}
    {if $smarty.section.i.index == 9}
    {if $smarty.section.i.index == 14}
    According to the previous post, you change the 4, 9 and 14 to 3, 7, 11 so that it looks like this:

    Code:
    {if $smarty.section.i.index == 3}
    {if $smarty.section.i.index == 7}
    {if $smarty.section.i.index == 11}
    I haven't personally tried this, but that's what I got out of the post.

    Thanks it worked!!!!!!

Similar Threads

  1. Recent page as home page
    By james739 in forum Template Modifications
    Replies: 3
    Last Post: 07-01-2009, 06:50 AM
  2. Changing home page
    By zulf in forum General Discussions
    Replies: 5
    Last Post: 09-28-2008, 12:55 AM
  3. Video not playing in home page
    By siddi in forum Installation Support
    Replies: 3
    Last Post: 01-29-2008, 02:38 PM
  4. BLANK HOME PAGE... HELP!
    By browniegirl in forum Template Modifications
    Replies: 3
    Last Post: 10-25-2007, 07:31 AM
  5. How to put more videos on the home page?
    By zinctek in forum Template Modifications
    Replies: 12
    Last Post: 09-23-2007, 10:47 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
  •