Closed (fixed)
Project:
Printer, email and PDF versions
Version:
5.x-3.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2008 at 00:12 UTC
Updated:
18 Jun 2008 at 15:44 UTC
although i am a fan of print stylesheets, i like the added functionality of this module such as the list of links at the bottom of the page. however, i don't like having the print link at the bottom of my custom 403 and 404 page. could the module either ignore pages where the http status is not 200, or could it have a feature like on the block config pages where you can choose to enable/disable only on specific pages?
thanks, jonathan
Comments
Comment #1
sunBetter title.
Comment #2
sunJust looked through the code.
Support for disabling Print on certain pages has already been added via Visibility API module.
However, it seems this is not documented anywhere.
Comment #3
Jonaboff commentedI'm intermediate at PHP, but don't understand how Drupal modules work. How would I go about hiding the link for node/1 and node/2?
Or should I just wait for this to be added to the admin UI? It's not vitally important to me, just a small annoyance :P
Jonathan
Comment #4
jcnventuraI had forgotten about the visibility API also...
Basically you have to install the visibility API module and it will add in this module's settings page a text area where you can specify the paths in which you don't want to show the link.
This was actually not working up to now, but I have fixed it in the latest dev, and added some text in the README.txt to indicate that this function exists..
And just to let you guys know, I added this at the request of a user (who apparently never tested it..), but I really plan to create a solution that doesn't require the extra module.. In the D6 version there is already something like this for the non-content link, and I am planning to extend it for now to the content links also. So use it for now, but be warned that a future version will not support it anymore.
João
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.