I
I
Ivan Yakushenko2016-07-17 16:01:05
Yii
Ivan Yakushenko, 2016-07-17 16:01:05

How to pass action from module to Yii2 root view?

There is a module located at the address modules/privateCabinet, in its views/layouts/pcabinet.php there is a form that, with the action attribute, should transfer data to the root views/site/editdata.php, but when transferring data, an address bar of the form localhost/web/privatecabinet is formed /views/site/editdata, of course, there is no such path. Specifying the full path does not help. Tell me how, after all, to transfer the necessary data from the module?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2016-07-17
@kshnkvn

If I understand correctly, then@backend/views/site/editdata.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question