Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 27
Total Posts: 110
Posted 03/31/08 - 03:21 AM:
#1
Hi,
Is there an easy way of making all subcategories od individual main categories related to each other without having to go to each sub category and paste the category ID numbers in?
Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 49
Total Posts: 5539
Posted 04/01/08 - 12:11 PM:
#2
Not that I can think of, except that you might be better served to just place a toplist of subcategories from the other category instead of using the related items option.
Thinking futher though, will what you have suggested work on all pages showing links in a sub cat such as this? http://www.accommodation-uk.net/aberdeenshire/abe... ? Will that page show all of the sub categories of the group that this page exists in? And also do the same for the other similar pages in the other cats? I am now not sure if I have explained very well.
Once you type in the correct box it'll be the 5th term in the generated config line. Not sure what box exactly you did type it in for it to end up as 15th.
Usergroup: Customer
Joined: Jan 19, 2007
Total Topics: 27
Total Posts: 110
Posted 04/14/08 - 12:05 PM:
#9
I finally got there! Thanks Paul.
For my next question...
The solution is perfect for the sub-sub categories but how do I stop it showing on the sub categories - after all they both run off the same template don't they.
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 37
Total Posts: 112
Posted 04/18/08 - 07:46 AM:
#14
This first one doesn't work because I think your category levels are not greater than 1. You could use that example if you changed <IF {CATLEVELSDEEP} is greater than 1> to <IF {CATLEVELSDEEP} is 1> or <IF {CATLEVELSDEEP} is less than 2>
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 37
Total Posts: 112
Posted 04/18/08 - 07:50 AM:
#15
Be careful using any of these though because if you add new levels in your category structure they will stop working.
If I were you I would create a custom field for categories called showrelated and then edit every category you wish to show related categories in, and type the word "yes" into that field for each of those categories. You could then use...
<IF {CATSHOWRELATED} is yes>
and have full control over which categories show the toplist