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.
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.
Oh good question, I know that for the channels, if you change the "mod" number inthat it changes it... I'm wondering if changing the numbers inCode:{if $smarty.section.i.index mod 4 eq "0" and $smarty.section.i.index gt "0"}in index.tpl will do it or something along those lines.Code:{if $smarty.section.i.index == 4} {if $smarty.section.i.index == 9} {if $smarty.section.i.index == 14}
If it's not fun, stop doing it!
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.
Oh good, so I was on the right track. kewl! Glad it worked for you!
If it's not fun, stop doing it!
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
in index.tpl find:
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 == 4} {if $smarty.section.i.index == 9} {if $smarty.section.i.index == 14}
I haven't personally tried this, but that's what I got out of the post.Code:{if $smarty.section.i.index == 3} {if $smarty.section.i.index == 7} {if $smarty.section.i.index == 11}
If it's not fun, stop doing it!
Originally Posted by grynmoors
Thanks it worked!!!!!!
Bookmarks