I have a list called COMICS, this list shows me all subcategories that belon to the parent COMICS, and each element in this list is linked to another search and form called TIRAS, that contains the list of articles of the categories, and it works at this point, but, when I enter to the list TIRAS, it shows me all articles, that exist, not the ones that belong to that specific subcategory, why is that?
I am going to try that and let you know, in casen case my question was confusing I will explain it simple with images
I have a menu, with an option that says COMICS, witch is the parent category, this sends me to a list, that contains all subcategories that belong to the father COMICS and it looks like this
and it looks like this, it is ok until this point, in this point, whe I click one of the options that appear, it si suppose to send me to a list that contains the articles that belong to one of the elements of this list , but it shows me this
or it shows me all articles in existence, not those that belong to the subcategory I just clicked
now it shows me the articles, but not the ones of that specific category I just cliked,so it needs to filter the result by cat id, the code I used to pass the cat id is this "course_id=$cck->getValue('catid')" but I think I did something wrong in it,
the first list, is a list of subcategories, the second a list of articles, it shows me articles, what I need now is that list to show me only the articles of the category I just clicked, to filter the result just to the one I clicked, if I clicked a category called BOATS for example, I want the second list to show me only the articles contained in the BOATS category not the others
yes I have a list of categories, yes I have a list of articles, but with no order, and giving the fact that it shows all articles and no specific, I did something wrong, this is what I did
in my category list in the item section I linked the title to a list and search the one that conects to the article list, when I ad in custom variables the code course_id=$cck->getValue('catid') it gives me this
and in the list of article, in the search form section I added category ID, and in the number 2, I set live value to url variable
it shows me all the articles no matter the category, there is something I did wrong in my steps
I will try that tomorrow and let you know, but I think it just need something to filter the result, just that, even if I don't use the code I told you, it shows me the articles, without the message I put in the screenshot, but I think it just needs something to filter results
Your search form has search fields ie art_id, art_catid, and what ever else you put in there.
In the field you can assign
- a defaultvalue (not my favourite thing to do) in the field itself
- a live (a very funky thing to do) in the in the search form (2)
In your menu item, or in the search module, you can override these values and assign your own value i.e
override art_catid with 12, or some other number (even if the search form has a live value assigned). This is a funky feature... i.e the same search, but different menu items can point to different categories etc....