Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • suzanna Friend
    #967131

    I need to disable image href in "news" alternative module layout.
    Or even better I would like to copy and create news2 layout without the img href.
    Is that possible?

    What I would like: http://imgur.com/a/1Z8O8

    Module layout option: http://imgur.com/a/mEin6

    Pankaj Sharma Moderator
    #967152

    Hi
    Try this
    Go to
    /html/mod_artilcles_category/news.php
    find

    
            <a class="item-image" href="<?php echo $item->link; ?>">
              <img src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo $item->title; ?>" />
            </a>

    replace it with

    
            <div class="item-image">
              <img src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo $item->title; ?>" />
            </div>

    Let me know if it helps .

    suzanna Friend
    #967159

    Perfect! Thanks.

    Quick question :-): is it possible to add … (three dots) after intro text limit in that file news.php file?

    Pankaj Sharma Moderator
    #967456
    This reply has been marked as private.
    suzanna Friend
    #967702

    Thank you! 🙂

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

This topic contains 4 replies, has 2 voices, and was last updated by  suzanna 7 years, 7 months ago.

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