I am currently implementing the navigation of the website (multilevel menu, having current page highlighted).
As navigation part will be included for virtually all modules, I first made it a global partial.
But logic for selection of “current page” is quite complicated in some situations, I am thinking of using a component for the navigation.
The problem is that symfony allows to have global partials, but not global components.
So is there a “nice symfony way” to do this?
There isn’t a mechanism for this as such. I usually end up creating an empty module called default and putting stuff like that in there.