Bootstrap Templates Bundle

Thursday, August 1, 2013

How to Install the Facebook Like Box on Your Drupal Website also enable php code as input text format

Get facebook likebox code from facebook.com
suppose

<iframe scrolling="no" frameborder="0" allowtransparency="true" src="http://platform.twitter.com/widgets/follow_button.1340179658.html#_=1344687471539&amp;id=twitter-widget-2&amp;lang=en&amp;screen_name=saranquardz&amp;show_count=true&amp;show_screen_name=true&amp;size=m" class="twitter-follow-button" style="width: 243px; height: 20px;" title="Twitter Follow Button"></iframe><iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fdevsaran.drupal&amp;width=240&amp;height=258&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:240px; height:258px;" allowtransparency="true"></iframe>

Then create a block and add avove code also select php code as input tex format




Do you know how to enable php code for input text format?
see below:

Go to Administration > Modules.
Scroll down to the PHP filter module and check the Enabled box. Press the Save Configuration button.
When you will add ant content/block select php code as input method. That's all

No comments:

Post a Comment

Wokiee React eCommerce Template