Hello,

I'd like to suggest not displaying the "Like" button on nodes that are being built to be printed[1]. I believe a "Like" button doesn't really add anything to a printed page.

The quickest way to implement this would be a test for $node->build_mode == NODE_BUILD_PRINT before adding the button to $node->content in fblikebutton_nodeapi.

In fact, it would be more thorough to only add the button to nodes if the build mode is regular and possibly preview (NODE_BUILD_NORMAL and NODE_BUILD_PREVIEW, respectively). I don't suspect it's important that the Facebook link get indexed for search.

Thanks for fblikebutton!
-G

[1] There's a list of node build modes in node.module

Comments

gvso’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

We are not fixing this issue as Drupal 6 has reached end of life