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

    If I want to remove the print icon at the top of a blog item, can I just delete the following code out of the the following file/templates/ja_teline_iv/html/com_k2/templates/teline_iv_blog/item.php ?

    Many thanks

    <?php if($this->item->params->get(‘itemPrintButton’)): ?>
    <!– Print Button –>
    <li>
    <?php if(JRequest::getCmd(‘print’)==1): ?>
    <a class=”itemPrintLink” href=”<?php echo $this->item->printLink; ?>” onclick=”window.print();return false;”>
    <span><?php echo JText::_(‘Print’); ?></span>
    </a>
    <?php else: ?>
    <a class=”modal itemPrintLink” href=”<?php echo $this->item->printLink; ?>” rel=”{handler:’iframe’,size:{x:900,y:500}}”>
    <span><?php echo JText::_(‘Print’); ?></span>
    </a>
    <?php endif; ?>
    </li>
    <?php endif; ?>


    1. Screen-shot-2011-02-11-at-13.47.51
    Nick R JA JobBoard
    #376209

    Hi There,

    would it be possible to just hide it? I know from J! article management, you have the parameters where you can hide this icon, so I thought you could do this on K2 parameters as well…
    Maybe a better solution than deleting something.

    Cheers
    Nick

    rustyt Friend
    #376227

    Hi Nick

    Thanks – I had looked but hadn’t found the option but now realise I was looking in the wrong place, it was under the Category Parameters. New to K2 and still learning!

    Thanks

    Russell

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

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

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