Re: Display Module within one Category?
I have implemented this on one of my sites but did not push back to the main source. The reason is that there are a couple different ways to do it, and I chose one that I don't think others would necessarily agree with. My technique was to allow the module list get created as normal, but right before displaying, I cull the list based on the category. If the module is associated with a category, then if the page is associated with the same category, display it. Otherwise remove it from the list. If the module is not associated with a category, keep in the list.
To do this I put a call in the ticketlib (the only place I could find that all pages go thru after the module list is created and the categories are known). This is clearly a hack, but I couldn't find another place to change without a big foot print. If you are interested in the changes, I can supply them.
If people think that this is an acceptable solution, I can update. But I didn't think people would like the ticketlib hack.
gg