I'm using this module with forward as well, and I would like to move them from under the content to a different place on the page. What is the code I need to drop in for that?
I'm using this module with forward as well, and I would like to move them from under the content to a different place on the page. What is the code I need to drop in for that?
Comments
Comment #1
jcnventuraThis module and the forward module use hook_link to add themselves to the node content.. You would have to change that function (print_link). It might break the module though..
Another possibility is to change it via the theme.. But you would have to ask that info from someone who knows more about themes than me. :)
Joao Ventura
Comment #2
holydrupal commentedI am searching for it too
Comment #3
nathanraft commentedYou can put this in your tpl files for the content types you want or in the general page tpl. Just disable the "printer friently page link" on the module setting page to keep the link from showing in the normal spot.
I have posted a request for a global print statement so that it respects the rest of the module settings as well but this will get you to see a link where ever you want to put it. Just change "Print Nice" to anything you want the url to read.
print l(t('Print Nice'), 'print/' . ($node->nid) );Comment #4
jcnventuraIndeed, the previous answer is the correct one. To move them anywhere else, you should globally disable the printer-friendly link (http://example.com/admin/settings/print), and then modify your current theme templates to place the link where you want it.
To ease the task of placing the link, you can use the following code: