2

printing link to share on facebook

http://drupal.org

I am trying to print a link to facebook in my page template using the following statement.

<a href="http://www.facebook.com/share.php?u=<?php print $node_url; ?>"  title="Share on Facebook"><span class='hidden'>Share this on Facebook</span>

My code is not printing the php statement. I am looking for a little help with the correct way to enter this statement.

Thank you.

Read »
Created by Dplanet 2 years 10 weeks ago
Category: Theming   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Recent comments