TLDR: Is there an easy way to include the same instance of a module in different posts with different settings in Joomla!?
What works: URL parameters. I can call the post with a URL to which I append parameters that the module queries. But this is cumbersome. I'm looking for a simpler solution.
I'm thinking of something like this: Is there a way that a module recognizes in which post it is currently displayed and examines the content of this post for a certain keyword? Then you could assign keywords to certain settings in the backend and if the module finds the keyword in the post, it takes over these settings.
Detailed description: I wrote a module that accesses a calendar on another server. In the Joomla! backend you can set which events should be displayed. In the module I access this settings with "$params->get('xyz')", e.g. "$params->get('eventtype')" It is working.
But there is a problem: I can use the module in different posts, but the same events are always displayed because the same settings are always used. There is no way to use different settings for different posts. Example: One post shows all events for children, the other post shows all events for seniors, a third post shows all events with free entry, etc.