+ Reply to Thread
Results 1 to 8 of 8

Thread: Put Video on first

  1. #1
    Senior Member
    Join Date
    Aug 2014
    Posts
    163

    Put Video on first

    Hello


    I would like to know how to put the videos in first position when there is a video on the gallery! Please

    video.jpg

    I use this code, but...

    PHP Code:
    Only registered members can view the code

    I prefer to put the videos of the gallery first to avoid adding code and weighing the page, Thank you

  2. #2
    Hello Blackred,

    Open file: ftp://includes>>controllers>>listing_details.inc.php

    find line: $photos = array_merge($photos, $videos);

    and replace to: $photos = array_merge($videos, $photos);

    save and check again.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Senior Member
    Join Date
    Aug 2014
    Posts
    163
    Hello Viktor,

    Thank you but...

    video 2.jpg

  4. #4
    Senior Member
    Join Date
    Aug 2014
    Posts
    163
    Hello,

    Sorry Viktor, but when i change ! Video is blank :s

  5. #5
    Hello,

    Please try to change 1 line in file: ftp://templates>>your_template>>tpl>>controllers>>listin g_details.tpl

    find line:
    Code:
    Only registered members can view the code.
    and replace to:
    Code:
    Only registered members can view the code.
    save and check again.
    Viktor,
    Flynax technical department,
    Best wishes.

  6. #6
    Senior Member
    Join Date
    Aug 2014
    Posts
    163
    Hello Viktor,

    Sorry but don't work :s

  7. #7
    Hello,

    Yes you are right. I checked with youtube video. But with local doesn't work.

    Open file: ftp://templates>>your_template>>js>>lib.js

    find method: this.picGallery and replace to code from zip archive.

    you should replace all code for this method. Save and check again.
    Attached Files Attached Files
    Viktor,
    Flynax technical department,
    Best wishes.

  8. #8
    Senior Member
    Join Date
    Aug 2014
    Posts
    163
    Hello Viktor,

    Thank You It's Work perfect

    https://www.zoomprovence.fr/adresses...l-arc-241.html

+ Reply to Thread