G
G
Grizmar2014-01-21 18:27:30
Zend Framework
Grizmar, 2014-01-21 18:27:30

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

1 answer(s)
B
bahek2462774, 2014-01-21
@Grizmar

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 question

Ask a Question

731 491 924 answers to any question