![]() |
|
Disqus Comment Count Integration - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Disqus Comment Count Integration (/thread-10121.html) |
Disqus Comment Count Integration - Yannick - 30-06-2012 Hello there, As my title says, I'm hoping for help integrating Disqus comment count in my news page, so it shows how many comments were made on each news item. This probably is quite easy but I can't get it to work.
I've tried several modifications like this but I really suck at php. I can't find the function that calls the titlelink in mysql. ` Disqus Comment Count Integration - sbillard - 30-06-2012 Probably you should review some of the themeing tutorial and the object model. Then you would realize there is a fundamental difference between "get" functions and "print" functions. The latter produces the whole required HTML. What you want is `` Disqus Comment Count Integration - Yannick - 30-06-2012 Thank you sbillard! I've tried "get" too but only tried getNewsTitleLink () without the getNewsUrl before. Well I'm still learning. Thanks again, even more since this was obviously a stupid question. Disqus Comment Count Integration - sbillard - 30-06-2012 Here is another hint. One can always look at the code of the "print" functins to see where they get the items to be printed. |