test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • zdmdesignz Friend
    #193033

    I’m wondering how to link an Image Content Type featured homepage tile to a blog page.

    I do see that you can set the Content Type to “Text” or “Image,” but what I’m really looking to do is simply have a tile with an image on it link to a blog.

    A homepage tile linked to a page like these would really make my day and my website:

    http://joomla-templates.joomlart.com/ja_fixel/index.php/en/easyblog
    http://joomla-templates.joomlart.com/ja_fixel/index.php/en/j-blog

    Any help is hugely appreciated 🙂

    Best,
    Zechariah

    Ninja Lead Moderator
    #515848

    Hi Zechariah,

    When you click title or image in frontend, it should open associated article details page, this is default behavior of Joomla.

    In order to make it direct to a blog, I’m afraid that you must customize / change link for title of article in com_content, depend on type of that featured article then you change associated file as below:

    Open templates/ja_fixel/html/com_content/featured/default_item_images.php file
    Line 36: <a class=”article-link” href=”<?php echo $link; ?>” title=”<?php echo $this->escape($this->item->title); ?>”>

    Open templates/ja_fixel/html/com_content/featured/default_item_gallery.php file
    Line 36: <a class=”video-link” href=”<?php echo $link; ?>” title=”<?php echo $this->escape($this->item->title); ?>”>

    Open templates/ja_fixel/html/com_content/featured/default_item_default.php file

    Line 24: <a class=”article-link” href=”<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>”> <?php echo $this->escape($this->item->title); ?></a>

    This requires customization in core and you should try by yourself.

    Regards

    zdmdesignz Friend
    #515900

    Ouch :((

    That sounds a bit daring for me. I have no real experience with php. Maybe there is a workaround…

    Thanks

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

This topic contains 3 replies, has 2 voices, and was last updated by  zdmdesignz 11 years ago.

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