I use this code in Drupal 7.9 page.tpl.php and it calls the functions and displays the three icons.

<?php print print_insert_link(); print print_mail_insert_link(); print print_pdf_insert_link(); ?>

However it does not display in a node published to my front page.

It also fails in a page with the php filter enabled or in the header of a view with php filter enabled.

Any suggest why it works in the template page but not elsewhere?

Comments

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

This will only work in full mode, not in 'teaser' display mode (that's why it doesn't show on the front page).

It won't also work for non-content pages (such as views), unless you've added that view path to the list of allowed paths in the module configuration screens.

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

No further info in more than two weeks. Closing the issue.