Thank you for your answer.
That mod is cool and I will probrably use it, but it doesn't solve the problem.
To make things clear, I will do this example.
Suppose I have a blog with tinyportal.
I have these categories:
January
February
March
I have a right block menu with:
- January
- February
- March
January has got Post 1, Post 2, Post 3 in it.
If i set a new block with type "articles in a categories" and select the option to show it only in the category "January", then, when I click on "January", that block will appear under the menu block, showing another kind of submenu with
- Post 1
- Post 2
- Post 3
In it.
And this is fine.
But that works until i stay in the category page, which means until I stay on the generic "January" page.
If I click "Post 2" for example, that kind of sub-menu disappears.
In order to keep it visible also when visiting any of the posts in the January category, I have to modify the sub-menu block and select its visibilty not only for the category "January", but also by checking every single article in that category. In this way the submenu will stay visible also when visiting Post 1, Post 2, Post 3. But I have a lot of posts and it should be something automatic for every new post in that category.
So I was wondering if there was a way to check or select all the articles that belong to a category selected in the visibility option of the block.
Or even better, if there was a way to make things work differently with a php mod.
I mean, right now it should work this way. Let's suppose the cat January is 29.
if cat = 29
then show "articles in a category block"
I want it to be
if cat = 29 OR article->getcategory()=29
then show "articles in a category block"
I hope it's more clear this way.
If you may suggest me which php file(s) should be modified and which part(s), I may try to look by myself and maybe I can work something out.