문제

I'm running TYPO3 v. 6.1 with FLUID/EXTBASE.

I have installed the News (tx_news) plugin and it's running fine, now i need a comment plugin and have looked at the Disqus, I can see that I installe the EXT: Typo3 Blog and add that to my detail view page for the tx_news and then add the Disqus as master, that overwrite typo3 blog.

My question is now, the comment count for a news, can i pull that out to the list view page for the news, so I can show the comment at that level.

If yes, how do I do that ?

도움이 되었습니까?

해결책

tx_news have the DISQUS ViewHelper included. Put this in your tx_news detail.template

 <div id="disqus_thread"></div>
  <n:social.disqus newsItem="{newsItem}"
      shortName="demo123"
      link="{n:link(newsItem:newsItem,settings:settings,uriOnly:1)}" />

다른 팁

Disqus and TYPO3 are two different worlds. As I see it, the only way to isolate the comment count from the rest of the iframe would be via an API from disqus. Check with them if they offer something that returns your comment count when telling them the URL.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top