-
AuthorPosts
-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 13, 2017 at 7:38 am #1041502Hi,
If I got your message correctly, you want to customize the layout of this Top Videos module a bit by swapping the main video player to the left side instead of right side as default, is that right?
If yes, you can go to the file: [root]/templates/ja_hotel/acm/videos/tmpl/featured.php
Move this snippet of code:
<div class="player-wrap col-md-6"> <div id="ja-main-player"> <?php if (count($leading)): ?> <?php echo JLayoutHelper::render('joomla.content.video_play', array('item' => $leading[0], 'context' => 'featured')); ?> <?php endif ?> </div> <script type="text/javascript"> (function($){ $(document).ready(function(){ $('#ja-main-player').find('iframe.ja-video, video, .jp-video, .jp-jplayer').each(function(){ var container = $('#ja-main-player'); var width = container.outerWidth(true); var height = container.outerHeight(true); $(this).removeAttr('width').removeAttr('height'); $(this).css({width: width, height: height}); }); }); })(jQuery); </script> </div>
before the code rendering leading video items: http://prntscr.com/fj55et
And you also need to style for it again.
Regards
June 14, 2017 at 7:29 pm #1041866Hi,
It is very helpful the above. I can try it.The issues are:
1) i need the layout of the menu Videos to be like the picture 2 which is the default and in your Demo and not like the layout in picture1 which i have now.2) I have broken Video Links at Hot Videos as you can see in picture 1. I can not find a the problem.
Thank you
June 14, 2017 at 7:34 pm #1041867I am sending now the pictures
-
June 14, 2017 at 7:53 pm #1041876
Hi, I found the problem which was Template Style in the Menu item Videos. That menu Videos was based on Template Style Default and not on the Template Style Home. But i still facing the problem of Broken Video Picture links as you see on Picture3.
Can you check that please since i bring site offline now.?Thank you
June 14, 2017 at 8:26 pm #1041880I found the problem which was that, the Menu item was based on Template Style Default and not on the Template Style Home.
But i still facing the problem of Broken Video Picture links as you see on Picture3.
Can you check that please since i am having site offline now?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 15, 2017 at 3:59 am #1041971Your site seems to be in offline mode now, could you share the credentials so I can check?
June 15, 2017 at 4:54 am #1041978This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 15, 2017 at 10:14 am #1042058Hi,
The account seems not working, kindly check again.
June 15, 2017 at 10:25 am #1042061This reply has been marked as private.June 15, 2017 at 1:45 pm #1042085Hi, Problem is solved
Thank youAuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 10 replies, has 2 voices, and was last updated by litesvcs 7 years, 5 months ago.
The topic ‘Broken Links of Hot Videos Video Layout’ is closed to new replies.
Jump to forum