@~Z~ Man, I don't know what you mean by "thwarting" what you said in this case. There are multiple ways to skin a cat. I simply offered a slightly different suggestion, which I probably should have worded differently. The OP can now feel free to choose whichever method they prefer.
Still didn't "thwart" anything that you said lol.
Unfortunately I don't see any expansion, just thwarting to what I said. Why not just stick to the Howto?
Ok, now that we've found the code of interest, it makes sense to use only the common part of both variants in our search which is
sub-menu collapse. And voila, the search result will be:
Opening that file will show the html code again like
and we can see that the additional "in" is added by a var named
Investigating a little further shows, that
$expend is always part of the Links menu. And since this menu is open all the time, adding the same line of code
$expend = "in"; to the groups case below looks promising to do the right job. And in fact it does.
That's all. No guessing this and guessing that - just doing straight what the how-to says.