Hi everyone,
I was wondering if you can help me with the following problem, please:
At http://www.catchthekidney.com/ I have a little box in my left-hand sidebar, which shows the most recent comments. I want this box to appear on every page.
The code ist the following:
<ul>
{exp:comment:entries sort="desc" orderby="date" limit="10" dynamic="off" channel="kidney"}
{if channel_id == "1"}
<li>{url_as_author} in:
<strong><a href="http://{title_permalink=kidney/comments}" title="{title}">{title}</a></strong></li><BR>
{/if}
{/exp:comment:entries}
</ul>The problem: It works fine on the comments, search and first index page - but not on page /index.php/P10 or any subsequent page. There, it shows but an empty box with the header image. No comments are being listed.
I have just updated the site from EE 1.7.* to 2.6.1. It worked fine before the update, but now it’s broken. (Strangely enough, though, the same code works fine on every page of http://www.rueckspiegel.org/, which has also just been updated to EE 2.6.1)
Does anyone have an idea why this is happening?
Thanks & have a nice day,
Ute
Update: I’ve just played around with it a bit and found that it shows the first 10 comments on the first page, then comment 11-20 on page 2, comment 21 to 30 on page 3, and so on. (Except that there aren’t that many comments yet, which explains why the box is empty from page 2 onwards.) Now this one really puzzles me…