Get your own customer support community
 

Using the js snippit on my home built site, how can I have seperate comments for each piece of content that I pull in with php includes?

I'm trying to use the javascript snipit version on my home built blog, dapperstache.com. Each piece of content on the site is pulled onto the index page with php includes. I want to have different comments for each piece of content. I thought it might just work since the urls are different because of the unique title of each piece of content is passed in the URL.

First I placed the unaltered snipit in each include, but each one showed the same comments. Then I tried setting the "idcomments_post_id" to the unique title variable on the includes with php like this:

var idcomments_acct = 'df674ca3ed397344cc5b88004b910618';
var idcomments_post_id = '<?php echo "$title"; ?>';
var idcomments_post_url;

That didn't work either. Still the same comments with each piece of content. Forgive me if this question makes no sense... I'm a bit noobish with php and js.
 
sad I’m confused
Inappropriate?
5 people have this problem

User_default_medium