-
1 Attachment(s)
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
Attachment 2508
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
-
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.
-
1 Attachment(s)
Hello Viktor,
Thank you but...
Attachment 2509
-
Hello,
Sorry Viktor, but when i change ! Video is blank :s
-
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.
-
Hello Viktor,
Sorry but don't work :s
-
1 Attachment(s)
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.
-