1

Topic: videos on homepage

im trying to get videos on the homepage im trying different way to put the code in correctly but it not working video comes up 5 videos going down not across please help

<h3 class="members" align="right">{lang:"core","videos"}</h3>
    <div class="block videos">
    {videos:limit=5,cache_time=0}
    </div>

if anyone one can give my the correct code to have the videos line up like popular members i would appreciate it

thank you

2

Re: videos on homepage

Where are you placing the code in homepage.tpl? It sounds like you are placing it between the sidebar css coding that is causing it to display as it is.

3

Re: videos on homepage

nope im placing it between

<h3 class="blogs" align="right">{lang:"core","home_latest_blogs"}</h3>
    <div class="block blogs">
        {blogs:limit=5,cache_time=0}
    </div>   

----------------------------------------------------------------------------   
       
    <h3 class="news" align="right">{lang:"core","home_latest_news"}</h3>
    <div class="block news">
        {news:limit=2,cache_time=0}
    </div>

any advice

4

Re: videos on homepage

wow...I"m using 2.5.3 so I tested on 2.5.6 and it is putting the videos on top of each other (vertically) instead of horizontally. Not sure, but maybe 2.5.6  was designed this way.

Anyone else using 2.5.6 and have their videos displayed on the home page (homepage.tpl)??

If so, please post the call you used.

Last edited by db3204 (2010-06-23 12:25:54)

5

Re: videos on homepage

DB3204 also the same issue with pictures from the gallery as well

Last edited by zoltar (2010-06-23 12:39:24)

6

Re: videos on homepage

By default, the call for new members is already part of homepage.tpl. They display correctly on my site:

{members:limit=20,photos=1,cache_time=0,cache_name="new"}

7

Re: videos on homepage

db3204 wrote:

By default, the call for new members is already part of homepage.tpl. They display correctly on my site:

{members:limit=20,photos=1,cache_time=0,cache_name="new"}

Not members or new members
The photos they post in the gallery

{pictures:limit=5,cache_time=0}

Last edited by zoltar (2010-06-23 13:16:02)

8

Re: videos on homepage

hey zoltar. i had the same problem and i worked on the css a little bit and now its fine.

basically this is the way i display videos on homepage (i have youtube video mod):

<h3 class="members">Videos</h3>
    <div class="typepagevid">
        your call here
        </div>


Place this in your "content.css":

/* front video */
div.typepagevid {
            margin-bottom: 5px;
            margin-right: 5px;
            margin-left: 5px;
            margin-top: 5px;
        padding: 5px;
            padding-left: 8px;
        background: #ffffff;
        border: 1px solid #d4d4d4; }


div#content div.typepagevid div.image {
    padding: 4px;
    float: left; }

        div#content div.typepagevid div.image a img {
            padding: 4px;
            background: #ffffff;
            border: 1px solid #95C2EF; }

        div#content div.typepagevid div.image a:hover img {
            border: 1px solid #898989; }



Please let me know if it worked or not

Last edited by doc (2010-06-23 16:29:41)

9

Re: videos on homepage

doc - are you using 2.5.6? If so, are you saying by default videos are displayed vertically and you had to code it to display them horizontally?  Hmmm, I can't believe that is what vlad would want, but who knows.

zoltar - I'm not sure understand about the pictures. Could you provide a link to your site

10

Re: videos on homepage

db3204 i use 2.5.6
i have the youtube mod but i dont think it has anything to do with the display of videos on homepage using a call.
so videos were under one another.
so i messed around with the css and now its perfect.

Last edited by doc (2010-06-23 16:55:11)

11

Re: videos on homepage

Good work, doc. I'm surprised that as long as 2.5.6 has been out that this has not mention  before unless no one is trying to display their videos on the home page.

12

Re: videos on homepage

doc thanks worked great
db3204 i would be happy to provide a link to my site but its in another language hebrew
i removed the photo until i can get it fixed
but the site is fubar.co.il

13

Re: videos on homepage

Add Title on your videos on your homepage ??

EDIT : ext.videos.tpl

Add : title="{video_description}" in <a href ..... title=" " />blablabal ZzzZzZz</a>

Maybe its good for SEO ?... Not expert wink see you bye ++++++++++

14

Re: videos on homepage

I noticed when I put the videos extension on the (public) frontpage, the members don't get redirected to a 404 page or subscribe...

Last edited by godyn (2010-07-04 02:02:57)

15

Re: videos on homepage

doc wrote:

hey zoltar. i had the same problem and i worked on the css a little bit and now its fine.

basically this is the way i display videos on homepage (i have youtube video mod):

<h3 class="members">Videos</h3>
    <div class="typepagevid">
        your call here
        </div>


Place this in your "content.css":

/* front video */
div.typepagevid {
            margin-bottom: 5px;
            margin-right: 5px;
            margin-left: 5px;
            margin-top: 5px;
        padding: 5px;
            padding-left: 8px;
        background: #ffffff;
        border: 1px solid #d4d4d4; }


div#content div.typepagevid div.image {
    padding: 4px;
    float: left; }

        div#content div.typepagevid div.image a img {
            padding: 4px;
            background: #ffffff;
            border: 1px solid #95C2EF; }

        div#content div.typepagevid div.image a:hover img {
            border: 1px solid #898989; }



Please let me know if it worked or not


this is working fine for me , finally good news after almost a whole day testing & testing

thank you

16

Re: videos on homepage

perfect ! thx