Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • kennedyronald Friend
    #1052362

    Hi there,

    I love this template a lot. I just think it is a real pity the main images in blog view do not link to the full article like in protostar for instance. I think most people like to click images rather than a title or read more. I hope you can help. I have looked at other forums, studied blog_item.php but can’t figure it out with my very limited php skills 🙂
    Cheers,
    Ron

    Pankaj Sharma Moderator
    #1052571

    Hi
    open file "/html/com_content/category/blog_item.php" in template "ja_oslo".
    Find

    
        <?php echo JLayoutHelper::render('joomla.content.intro_image', $this->item); ?>

    Replace it with

    
    <a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>">
    
        <?php echo JLayoutHelper::render('joomla.content.intro_image', $this->item); ?>
          </a>

    Regards

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

This topic contains 1 reply, has 2 voices, and was last updated by  Pankaj Sharma 6 years, 9 months ago.

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