-
AuthorPosts
-
January 14, 2018 at 9:18 pm #1086650
Hello,
I just bought this template and I have one question.
On homepage, I like the way videos are displayed in the section "Hear what’s trending for free in the musixmood community: Articles – Category"
Is there a way to customize the template to have the same display but for news ? Because when I modify to display news, I’m not fond of the design.
Actually, I would like that when we click on a video content – it displayed the link to an item on my website. This way I could add url in "video item".
Many thanks for your help,
Elude
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 15, 2018 at 8:38 am #1086740Hi Elude,
You mean that when clicking on the title of one item, it should redirect to the detailed page as our demo site, right?
It seems that at this moment, these articles are not assigned to any menu item so that when you click to open, it keeps showing on the homepage.
You can create a new menu item and assign these articles (or category these articles belong to) to that new menu item, it would work as our demo site.
Regards
January 16, 2018 at 2:21 pm #1086984Hello,
Thanks for your answer.
But no I don’t want the same as on your demo page. Now video items functions like on your demo page.
What I need is when you click on a item video it opens a new joomla page with the article and not the video youtube. I would like to have the same design for video item but for article item.
Thanks for your help,
EludeSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 17, 2018 at 9:06 am #1087212Hi Elude,
If you don’t want to show the article in popup with video, you can open this file: root/html/mod_articles_category/videolist.php
At approx line 71, comment/remove this line of code:
<a class="btn-play html5lightbox" data-group="video-list-<?php echo $module->id; ?>" data-thumbnail="<?php echo JUri::base(true) . '/' . $thumbnail; ?>" href="<?php echo $url; ?>" title="<?php echo htmlspecialchars($item->title); ?>"><i class="fa fa-play"></i></a>
Regards
January 18, 2018 at 2:14 pm #1087542Thanks, it’s now almost what I want.
It works exactly as I want but only when we click on the title.
How can I also have the same when I click on the picture ?
Thanks for your help,
Elude
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 19, 2018 at 7:53 am #1087651Hi,
This is default code:
<div class="item-image"> <img title="<?php echo htmlspecialchars($item->title); ?>" src="<?php echo htmlspecialchars($thumbnail, ENT_COMPAT, 'UTF-8'); ?>" alt="<?php echo htmlspecialchars($item->title); ?>" /> <a class="btn-play html5lightbox" data-group="video-list-<?php echo $module->id; ?>" data-thumbnail="<?php echo JUri::base(true) . '/' . $thumbnail; ?>" href="<?php echo $url; ?>" title="<?php echo htmlspecialchars($item->title); ?>"><i class="fa fa-play"></i></a> </div>
you can change to this:
<a href="<?php if ($params->get('link_titles') == 1) : echo $item->link; endif; ?>" title="<?php echo htmlspecialchars($item->title); ?>"> <div class="item-image"> <img title="<?php echo htmlspecialchars($item->title); ?>" src="<?php echo htmlspecialchars($thumbnail, ENT_COMPAT, 'UTF-8'); ?>" alt="<?php echo htmlspecialchars($item->title); ?>" /> </div> </a>
1 user says Thank You to Saguaros for this useful post
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by elude 6 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum