Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Andrew Winkler Friend
    #186354

    When enabling the print and email icon in the global article preferences, they are not only displayed in the full article view but also in category/blog layout, not next to each other as in full article view, but below each other under the edit button, with the effect that there is an ugly gap between the title and the article preview. There is really no need for the email or print icon in category/blog layout, so ideally i would like those two icon not to be display in category/blog layout. Alternatively, I would be happy for them to be displayed next to each other, the same as in full article view.

    Ninja Lead Moderator
    #488577

    You can do that with this way, remember to backup old file before doing

    + In category

    Open templates/ja_wall/html/com_content/category/blog_item.php file

    Find and remove this script


    <?php if ($params->get('show_print_icon')) : ?>
    <li class="print-icon">
    <?php echo JHtml::_('icon.print_popup', $this->item, $params); ?>
    </li>
    <?php endif; ?>
    <?php if ($params->get('show_email_icon')) : ?>
    <li class="email-icon">
    <?php echo JHtml::_('icon.email', $this->item, $params); ?>
    </li>
    <?php endif; ?>
    <?php if ($canEdit) : ?>

    + In Feature(Blog)

    Open templates/ja_wall/html/com_content/featured/default_item.php file

    Find and remove this script


    <?php if ($params->get('show_print_icon')) : ?>
    <li class="print-icon">
    <?php echo JHtml::_('icon.print_popup', $this->item, $params); ?>
    </li>
    <?php endif; ?>
    <?php if ($params->get('show_email_icon')) : ?>
    <li class="email-icon">
    <?php echo JHtml::_('icon.email', $this->item, $params); ?>
    </li>
    <?php endif; ?>

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

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 11 years, 7 months ago.

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