-
AuthorPosts
-
February 11, 2011 at 1:56 pm #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; ?>
Nick R JA JobBoardNick R
- Join date:
- August 2009
- Posts:
- 284
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 12
- Thanked:
- 20 times in 1 posts
February 11, 2011 at 2:00 pm #376209Hi 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
Nick1 user says Thank You to Nick R for this useful post
February 11, 2011 at 4:08 pm #376227Hi 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
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by rustyt 13 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to remove print icon in blog
Viewing 3 posts - 1 through 3 (of 3 total)