Answer the question
In order to leave comments, you need to log in
How in ZF2 to make the module work regardless of the path?
There are 2 modules, one is responsible for displaying articles, the second for displaying a banner.
Suppose the user went to the page www.hostname/article (the first module is responsible for displaying this page, how can I make the second module (banner) also work?
The complete task is to make the module work regardless of the path that the user requests.
ps I apologize if there is not enough information, because I don't know what is needed.
Answer the question
In order to leave comments, you need to log in
you can, for example, implement viewHelper in a module and then connect it to layout-e,
I asked about the same thing. How to output information from another module to the general layout in ZF2?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question