What I’m trying to do is create "Category" pages for a website. On these "Category" pages, products will be listed out using Ditto...no problem so far. Now here’s the thing I’m trying to work around in the Manager area of MODx: these products will sometimes will appear on multiple "Category" pages depending on whether or not that product falls under that particular category, so I can’t exactly just have the products be children of that specific category b/c they need to be listed on sometimes multiple category pages as well.
The way I’ve set the site up in MODx so far is to have a container named "Products". The manager will add products as children of this "Products" container. In a different part of the manager area, I’ve got the different categories with no children listed under them. So my thought was to have a filter clause on each category page and have T.V.’s on the products themselves where the manager could enter the ID to the category page itself. Then when the Ditto call on that particular "Category" page is called, it will go to the "Products" container and view the children that have the ID for that particular category page. If it does, then it will pull that product onto that particular category page. Is there a better or easier way to do this from what I’m doing? I just assumed this would make the most sense.
I started a topic already this filter clause (seen here:
http://modxcms.com/forums/index.php/topic,27739.0.html), but I’m not sure that is the easiest solution to what I’m trying to achieve.