Get started with PHP-Fusion

Start a New Thread

Users Participated

  • Ugleh
    Post made: 1
  • Yodix
    Post made: 1
  • Sumeet
    Post made: 3

Related Threads

Admin panel page white??
updated 1 year ago
custom page with include???
updated 1 year ago

  1. PHP-Fusion Support Forums
  2. PHP-Fusion 7 Support
  3. Content Administration

Remove Print option/ icon from news ??

This forum is for questions regarding the addition of content to your site

4 Replies 2,466 Views Last Updated on 2 years ago

Sumeet


Junior Member

#1

Posted 3 years ago

How to Remove Print option/ icon from news ??

Posts: 38

Joined: 01/04/2012

Yodix


Member

#2

Posted 3 years ago

Remove from file theme_functions_include.php:
Code Gist: Download source  
$res .= "<a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".get_image("printer")."' alt='".$locale['global_075']."' style='vertical-align:middle;border:0;' /></a>\n";

Happy Hunger Games! And may the odds be ever in your favor.

Posts: 66

Joined: 22/10/2010

Sumeet


Junior Member

#3

Posted 3 years ago

Yodix wrote:

Remove from file theme_functions_include.php:
Code Gist: Download source  
$res .= "<a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".get_image("printer")."' alt='".$locale['global_075']."' style='vertical-align:middle;border:0;' /></a>\n";


I removed but no change........

Posts: 38

Joined: 01/04/2012

Ugleh


Member

#4

Posted 3 years ago

I believe it is also located in the theme you are using.
An example would be the theme Stylo that comes with the php-fusion download.

in themes/Stylo/theme.php
Code Gist: Download source  

   echo "<li class='print'><a href='".BASEDIR."print.php?type=N&amp;item_id=".$info['news_id']."'><span>".$locale['global_075']."</span></a></li>\n";

Posts: 159

Joined: 23/03/2007

Sumeet


Junior Member

#5

Posted 3 years ago

ya u r right Ugleh.. Thanks problem solved!!!!Smile

Posts: 38

Joined: 01/04/2012

Jump to Forum:
8 users are online
1 member and 7 guests

ealdwulf