Webmastersite.net
Register Log In

category toplist
no longer working

Comments on category toplist

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Nov 14, 2008 - 2:31 PM:

When trying to speed things up I hard coded a drop down list of sub-categories below catid 32. However, as I am continually adding sub-cats here I have just put in the toplist to produce it again. It is exactly the one I used before v.5.0.21 and it worked perfectly before, however, now it doesn't generate the link correctly, merely putting in 0 for each sub-cat and thus throw a no page here error.

<form action="redirecttourl.php" >
<select name="catid" onChange="form.submit();" >
<option value="0">Search by Store</option>
<!-- BEGIN TOPLIST 21 -->
<CONFIG>categories,name;id,200,ascending,parent='13' ,,,0,0,0,0,0,0,,0</CONFIG>
<option value="{CATID}">{CATNAME}</option>
<!-- END TOPLIST 21 -->
</select>
</form>



[edit] I just noticed a semi-colon after name in the config. I regenerated a toplist code which produced the config: <CONFIG>categories,name,200,ascending,parent='13',,, 0,0,0,0,0,0,,0</CONFIG>
but that still doesn't work.
hai
Forum Regular

Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA

Total Topics: 94
Total Comments: 339
hai
Posted Nov 14, 2008 - 10:09 PM:

Hey babrees,

Try this -

<CONFIG>categories,name,200,ascending,parent=13, ,,0,0,0,0,0,0,,0</CONFIG>
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Nov 14, 2008 - 11:04 PM:

Thanks Hai, but that didn't work either!!

It seems that {CATID} just returns 0 I have tried without the filter and without a link - so just displaying all the catid and catname and all it returns for the catid is 0

sad
hai
Forum Regular

Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA

Total Topics: 94
Total Comments: 339
hai
Posted Nov 14, 2008 - 11:42 PM:

I was just coming back to post the exact same thing. I am getting the same as you are - a list of subcategories, but all return a catid value of 0.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Nov 15, 2008 - 2:44 AM:

I see. Upload this.

Attached Files:
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Nov 15, 2008 - 10:27 AM:

That did it - thanks Paul
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.