Clicking on an icon in the topics module only returns 10 results even if there are more than that. Why does it stop at 10? I can't find anything in the code to specify 10 results. Is there anyway to change this? I'd like to have a "next matches" option to keep browsing a topic through all its results.
Raven General
Joined: Mar 22, 2003
Posts: 5233
Location: USA
Posted:
Sat May 24, 2003 1:19 am
In the modules/Topics/index.php, this MySQL statement limits it to 10. Change the 10 to whatever you like
Code:
$sql = "SELECT sid, catid, title FROM ".$prefix."_stories WHERE topic='$topicid' ORDER BY sid DESC LIMIT 0,10";
Thanks for checking back.
I don't have a Topics per page setting.
In Preferences the only similar settings are:
Number of Items in Top Page
Stories Number in Home
Stories in Old Articles Box
These are all set to 30.
I have been attempting to splice some of the search module code into the topics module but when I have what I think should work, I get an unexpected $ error.
Thanks,
Tracy
www.thekidconnection.com
Ok, I tried that but what it does is change the number of topic icons in a row.
Raven General
Joined: Mar 22, 2003
Posts: 5233
Location: USA
Posted:
Sat May 24, 2003 12:59 pm
I took a quick shot - sorry. Rather than play tag, please PM me your ftp URL, userid, password and I will use your site to [hopefully] resolve this in a much more timely/efficient manner.
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum