[Idea] Module positions improvement #34977
web-cooking-factory
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The problem
I'd like to add possibilities when hooking a module implementing WidgetInterface in a position.
With a widget called from tpl, it's possible to pass all the parameters we want. It would be convenient to get the same thing in BO.
And secondly, it's an old topic but hook a module multiple times in the same position is a real need. I mean for widgets.
The solution
So, for the first part, I was thinking to add fileds in the edit page of AdminModulesPositions and store it in database in a new column 'params' of ps_hook_module, json encoded.
For the second part, I don't know yet.
Anyway the idea is to activate those possibilities only for widget modules.
Alternatives
No response
Additional context
No response
Do you plan to work on this subject?
Beta Was this translation helpful? Give feedback.
All reactions