Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • elude Friend
    #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 Moderator
    #1086740

    Hi 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

    elude Friend
    #1086984

    Hello,

    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,
    Elude

    Saguaros Moderator
    #1087212

    Hi 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

    elude Friend
    #1087542

    Thanks, 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 Moderator
    #1087651

    Hi,

    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>
    elude Friend
    #1088527

    Thanks, it solved my problem !

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 6 replies, has 2 voices, and was last updated by  elude 1 year, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum