CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Removing printer friendly icon
Pages: [1]

Author Topic: Removing printer friendly icon  (Read 4435 times)

aeranis

  • Guest
Removing printer friendly icon
August 16, 2009, 07:08:02 pm
Hi,

I'm simply trying to remove the printer friendly icon and button from all pages.  Where is this template located?

Thanks
Arman

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Removing printer friendly icon
August 16, 2009, 09:07:14 pm

templates/CRM/common/drupal.tpl

search for print

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mromrell

  • Guest
Re: Removing printer friendly icon for Joomla?
October 14, 2009, 06:06:06 pm
This is Great, But Only, Where is the file to edit for my Joomla install?

Thanks!

mromrell

  • Guest
Re: Removing printer friendly icon
October 14, 2009, 06:30:44 pm
I found it.

Joomla_Root_Directory/administrator/components/com_civicrm/civicrm/css/civicrm.css

Find:

#crm-container div#printer-friendly {
 float: right;
 position:relative;
 margin: -24px 0px 0px 0px;
}

 and add:
 display:none

so that it now reads:

#crm-container div#printer-friendly {
 float: right;
 position:relative;
 margin: -24px 0px 0px 0px;
display:none
}


GinkgoFJG

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 4
    • Ginkgo Street Labs
Re: Removing printer friendly icon
February 19, 2010, 08:06:06 am
Sorry to reopen an old-ish thread, but is there a way to do this on a per-site basis, for cases in which two sites are using a single CiviCRM installation in sites/all/modules?  I suppose one could handle this using CSS like mromrell demonstrated, but I think it's preferable not to output the HTML at all.

[Start Edit]
To be more specific, I'm referring to outward-facing pages of a site, like donation pages, etc.  It doesn't make much sense (to me, anyway) to have a printer-friendly version of a donation page, though it's clearly useful for some of Civi's reporting functions.
[End Edit]

Thanks!
-Pitt
« Last Edit: February 19, 2010, 10:26:00 am by pittstains »
Are you a CiviVolunteer user? Join the CiviVolunteer 2.0 Matching Grant effort to help the project win $15,000 in grant funding.

Andrew Perry

  • I post occasionally
  • **
  • Posts: 98
  • Karma: 1
  • Building empowering tools that comply with rules
    • Community Builders Australia
  • CiviCRM version: 3.x, 4.x
  • CMS version: Joomla 1.0.x, 1.5.x -> Drupal 6.x, 7.x, WordPress
  • MySQL version: 5.1, 5.5, 5.6
  • PHP version: 5.2, 5.3, 5.4
Re: Removing printer friendly icon
May 29, 2011, 06:41:17 pm
I'd be interested in how many organisations use this print friendly button.

It would certainly be good for it not to appear on user facing pages like Profiles etc by default (in my view).
Community Builders Australia Pty Ltd
www.communitybuilders.com.au

DerekL

  • I post frequently
  • ***
  • Posts: 132
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.54
  • PHP version: 5.2.17
Re: Removing printer friendly icon
March 16, 2012, 11:16:58 pm
Lobo, bless your freaking heart.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Removing printer friendly icon

This forum was archived on 2017-11-26.