TYPO3 Reea Blog

This will be shown to users with no Flash or Javascript.

Facebook comment


plugin.tt_news {
    facebook_comments {
    facebook_api_key = 278537422235572
    facebook_api_secret = a2e97a96392b3888dff6ec1fa7550aa7
    comment_label = comentariu
    comments_label = comentarii
    }
}
page.33 = TEXT
page.33.value (
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=278537422235572";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
)

# Pe pagina de detalii 
plugin.tt_news.displaySingle.facebook_comments_enabled = 1
plugin.tt_news.displaySingle.zebra_enabled = 1

# Peentru latest 
plugin.tt_news.displayLatest.facebook_comments_enabled = 1
plugin.tt_news.displayLatest.zebra_enabled = 1

# Pentru List
plugin.tt_news.displayList.facebook_comments_enabled = 1
plugin.tt_news.displayList.zebra_enabled = 1

Se instaleaza extensia ttnews_facebookcomments care este modifcatasa se poata pune widh diferit pentru comments

blog comments powered by Disqus