Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • okkhalid Friend
    #199579

    Hello,

    I would like to make the items are not linkable in this page:

    http://ja-medicare.demo.joomlart.com/index.php/en/bonus-page/our-services

    now if you go this page you will find a list of services, and the title and the image are linkable to an article.

    I would like to have this items are not linkable by disable the links in the title and image.


    1. links
    Adam M Moderator
    #541954

    Hi,

    1. To disable article linked titles, please to go Admin >>> Menus >>> Our Services >>> switch to tab Options >>> choose No in Linked Titles.

    2. To disable this function in article thumbnail, you will have to remove hyperlink in the code instead. Please open file root_folder/templates/ja_medicare/html/com_content/category/blogservices_item.php and look for this code :

    <a href="<?php echo $link; ?>"><img
    <?php if ($images->image_intro_caption):
    echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
    endif; ?>
    src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/></a>

    then update as below :

    <img
    <?php if ($images->image_intro_caption):
    echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
    endif; ?>
    src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/>

    Save your file and recheck.

    okkhalid Friend
    #542029

    That is just GREAT. THANK YOU 😀

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

This topic contains 3 replies, has 2 voices, and was last updated by  okkhalid 10 years, 4 months ago.

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