Loading ...

[solved] how can i add facebook pugin code to my site under catagory

Board index / Themes & Plugins

Discussions around PHP Melody add-ons.

Postby mesi on Sep 15, 2016 4 pm


how can i add facebook plugin code to my site under the catagory div in the index page of the website, can anyone give me solution, thanks
mesi
Non-verified
Non-verified
 
Posts: 3
Joined: Aug 08, 2016 10 am
Reputation points: 0

Postby Andrew on Sep 16, 2016 3 pm


What theme are you using @mesi?
PHP Melody v3.0
New Series Module? Publish series and episodes right from PHP Melody's Dashboard -->
https://demo.phpmelody.com/admin/series.php
User avatar
Andrew
Founding Developer
 
Posts: 7504
Joined: Jul 07, 2007 1 pm
Reputation points: 428

Postby mesi on Sep 19, 2016 2 pm


i am using sugar(about 2 month since i got it).
Thanks Andrew
mesi
Non-verified
Non-verified
 
Posts: 3
Joined: Aug 08, 2016 10 am
Reputation points: 0

Postby Andrew on Sep 20, 2016 3 pm


Ok, in this case open: /templates/default/index.tpl

Find:
Code: Select all
      <div class="widget">
         <h4>{$lang._categories}</h4>


Before, add:
Code: Select all
<div class="widget">
{literal}

-- YOUR FB CODE HERE --

{/literal}
</div>


Replace -- YOUR FB CODE HERE -- with the HTML code from FB. That should do it.
PHP Melody v3.0
New Series Module? Publish series and episodes right from PHP Melody's Dashboard -->
https://demo.phpmelody.com/admin/series.php
User avatar
Andrew
Founding Developer
 
Posts: 7504
Joined: Jul 07, 2007 1 pm
Reputation points: 428

Postby mesi on Sep 20, 2016 10 pm


it works great. Thanks a lot @Andrew
mesi
Non-verified
Non-verified
 
Posts: 3
Joined: Aug 08, 2016 10 am
Reputation points: 0


Who is online

Users browsing this forum: No registered users and 1 guest