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.
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.
5
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Well all are working except my pictures of the day... I don't know why they are the only ones not working.
I’m confused
-
Inappropriate?Can you send me a link to the pictures of the day that you're talking about?
Either post it here or email me at support at intensedebate dot com -
Inappropriate?Somebody feel like taking another look at it? Dapperstache is getting much bigger right now and the problem is getting more complicated. Think it would help if I exported the current comments and started from scratch?
I’m bleh
-
Inappropriate?I'm having a similar problem... can you tell me what you did to get it working on your 'regular' content? Also, did you get it working on your pictures of the day?
Thanks,
Scott
Loading Profile...



