test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • projectosglobais Friend
    #191367

    Hello,

    How can I remove the path to the article from print preview ?

    phong nam Friend
    #509181

    Hi projectosglobais,

    The path to article from print preview are the reference links in our sample Joomla articles which you can remove in the article’s backend.

    projectosglobais Friend
    #509206

    Hi Leo,

    Could you be more precise on where to remove the reference links ?

    projectosglobais Friend
    #509745

    cheers,

    I’ve removed the path from the article in the print screen view by commenting the following line from the file componentscom_contentviewsarticleview.html.php

    //$item->readmore_link = JRoute::_(ContentHelperRoute::getArticleRoute($item->slug, $item->catslug));

    Saguaros Moderator
    #511601

    Hi guys,

    I just want to update a solution here:

    – Create a new file named ‘custom.css‘ in templatesja_fixelcss folder (if this file doesn’t exist)

    – Add this css rule:

    @media print {
    a:after {
    display: none;
    }
    }

    It’s a simple CSS rule and this way will be saver than changing PHP code of com_content which may cause unexpected error.

    Kind regards.

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

This topic contains 5 replies, has 3 voices, and was last updated by  Saguaros 11 years, 1 month ago.

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