Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Posts
    41
    Plugin Contributions
    0

    Default Printer Friendly Button ?

    Hi everyone,

    I would like to add a “Printer Friendly” button on the Product’s info page.
    Does anybody know, what is the best way to go about it?

    Thank you.

  2. #2
    Join Date
    Jul 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Printer Friendly Button ?

    Should I just look for a java script and add it to the product_info.php ? or is it more complicated than that ?

    Thanks

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Printer Friendly Button ?

    You can edit print_stylesheet.css to hide unwanted elements and adjust some facets of the display when printing a page.

    By using #productInfoBody .yourProductInfoClass {}, print style alterations can be limited to the product info page.

  4. #4
    Join Date
    Jul 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Printer Friendly Button ?

    Thank you gjh42 for the info,

    Maybe I am missing something, but I still don't understand how to create a "Printer Friendly" link on the product page.

    Thanks.
    Last edited by Alex123; 17 Jun 2008 at 08:59 AM.

  5. #5
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Printer Friendly Button ?

    Quote Originally Posted by Alex123 View Post
    Maybe I am missing something, but I still don't understand how to create a "Printer Friendly" link on the product page.
    You don't need to. You just adjust the print_stylesheet.css file until the page prints out how you want.

    Regards,
    Christian.

  6. #6
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Printer Friendly Button ?

    Quote Originally Posted by Alex123 View Post
    I would like to add a “Printer Friendly” button
    Do you mean like on this page?
    http://www.pilonidalproducts.com/privacy.html

  7. #7
    Join Date
    Jul 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Printer Friendly Button ?

    Yes thats that is what I mean Steven.. Just a simple button where soemone can click in order to print the page. In some cases ( but I guess this would need more customization ) the page that is going to be printed pops-up so you know what you are going to be printing.

    Is this button easy to impement ?

    Thanks

  8. #8
    Join Date
    Jul 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Printer Friendly Button ?

    Here is an example: http://www.arlisa-bijoux.com/marcasi...rfly-p-61.html of what I mean.

    Look at the "Printer Friendly Page" link
    Thanks

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Printer Friendly Button ?

    The print_stylesheet when properly filled out makes a printer-friendly page output without a separate button or javascript code required. It does not affect the screen view.

  10. #10
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Printer Friendly Button ?

    Alex123, here's a link to how I added the button, although Glenn's approach sounds much better to me.

    http://www.dynamicdrive.com/dynamicindex9/other1.htm

 

 

Similar Threads

  1. Printer Friendly
    By slabadoo in forum General Questions
    Replies: 14
    Last Post: 21 Mar 2007, 08:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg