03-Jan-2014, 04:59 PM
Is there a way to load more than one set of comments?
I have a site where the content changes on a daily basis, and today's page content is pulled from a file with a numerical day identifier. In other words, if today is day 2134, there is a php variable "$day" with a value of 2134, and $cmtx_idenfier = "$day". You could load the same page with a URL GET value ?day=2134 (and prior days are available using GET, e.g. you can see yesterday's page by putting ?day=2133 at the end of the URL.
What I would like to do is include yesterday's comments as well as today's in my commentics section. I hate to start mucking about in the code, even though this seems like something one might be able to do by just adding an "OR `id` = '$id+1'" to the correct query.
Commentics has been a big hit. If you want to see it, here is today:
http://dailyprayer.us/daily_devotion_page2.php?day=1587
I have a site where the content changes on a daily basis, and today's page content is pulled from a file with a numerical day identifier. In other words, if today is day 2134, there is a php variable "$day" with a value of 2134, and $cmtx_idenfier = "$day". You could load the same page with a URL GET value ?day=2134 (and prior days are available using GET, e.g. you can see yesterday's page by putting ?day=2133 at the end of the URL.
What I would like to do is include yesterday's comments as well as today's in my commentics section. I hate to start mucking about in the code, even though this seems like something one might be able to do by just adding an "OR `id` = '$id+1'" to the correct query.
Commentics has been a big hit. If you want to see it, here is today:
http://dailyprayer.us/daily_devotion_page2.php?day=1587