logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

Category toplist... How do I do this?

Version:


Category toplist... How do I do this?
jayweb
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 37
Total Posts: 112
Posted 11/22/07 - 08:06 PM:
quote post
#1
Hello

I have had an Idea to create a page with content generated by a toplist, but the thing is, the toplist will be of ALL of the categories in the directory, and I need them to display like a category structure.


Toplevel category
-- Sub category
-- Sub category
--- Sub Sub
--- Sub Sub
-- Sub category
-- Sub category
--- Sub Sub

Etc...

I need it to look like a map of my category structure.

The reason I want to do this is that I do not like the category selector drop down box when someone submits a link. It's ok for a small amount of categories, but with hundreds or thousands of categories its just not practical.

My new toplist page will link to the submit link page for each category, allowing link submitters to look at the category structure and decide where to submit, before actually getting to the submit form.

My ultimate solution would be to have such a page, but instead of having links to the submit page for each category, it would have a check box for each category, and submitters would be able to select up to five categories, submit the form, and then get directed to the normal submit form and get submitted to all five categories. But I dont think thats possible. Correct me if I'm wrong. I would be willing to pay for such a mod.

I am just really looking for a much better way for link submitters to select categories because most seem to not bother looking at the drop down box thoroughly, and submit to categories that are nothing to do with them.
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 262
Total Posts: 829
Posted 11/22/07 - 08:41 PM:
quote post
#2
Hi

I actually use a toplist to produce a menu in a left column. Just generate a toplist for categories.

I only want the top level to show, not sub-cats, so I have:

><!-- BEGIN TOPLIST 2 --><CONFIG>categories,priority;name,50,ascending;ascending,parent='0',,,0,0,0,0,0,0,</CONFIG><a href="{CATURL}" class="menu" title="{CATNAME}">{CATNAME}</a><!-- END TOPLIST 2 -->


If you want ALL the cats to show you will not have the parent='0'.

If you want a dash before the sub-cats, have your display as:

<IF {CATPARENT} is 0>{CATNAME}<BR ><OTHERWISE> - {CATNAME}<BR ></IF>


jayweb
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 37
Total Posts: 112
Posted 11/22/07 - 09:10 PM:
quote post
#3
Hiya Babrees

Yeah I had something like that. I tried yours... http://www.click4localbusiness.co.uk/sitemap.php

Unfortunately, the is alphabetical order, I need it to be in the exact order of my category structure.
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 262
Total Posts: 829
Posted 11/22/07 - 09:14 PM:
quote post
#4
jayweb wrote:
Hiya Babrees

Yeah I had something like that. I tried yours... http://www.click4localbusiness.co.uk/sitemap.php

Unfortunately, the is alphabetical order, I need it to be in the exact order of my category structure.


hmm, can you not organise the order when generating the toplist?

Nice site smiling face
jayweb
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 37
Total Posts: 112
Posted 11/22/07 - 09:21 PM:
quote post
#5
Thanks, mind you it loads far too slow, I'm about a day away from uploading the new design, and that really is good, well I think so.

Anyway, I have tried various toplist setting and I have had the categories in just about every order apart from the order I need. I'm sure there is an answer, but as yet I cant find it.
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 262
Total Posts: 829
Posted 11/22/07 - 09:31 PM:
quote post
#6
Hope Paul can help



Look forward to seeing the new design :-)
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 11/23/07 - 08:24 AM:
quote post
#7
You want a sitemap, copy the code from the sitemap template.
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.