You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Never try using double view call like yours.
I use once in my controller, just for load the main view.
Because I'm using return, not echo.
Then I load bunch of header or footer etc inside view.
I do any projects also as you and I never use multiple times call the function in a single request, but the problem is not in this! The problem is that the stated feature in the user guide DOES not WORK! I am translating official documentation into Russian and I need to tell the community about how this function works. To illustrate by examples, but the examples don'T WORK! That's why I report the problem to the developers.
I have a two views header.php and footer.php with a same content:
<h3><?= $title ?></h3>
In my Controller I have this code:
When I call this Controller I can see on my screen:
Welcome! Welcome!
In App\Config\View.php I set:
public $saveData = false;
(or true doesn't matter)In the UserManual
Regardless of the transmitted values, this parameter does not work!!! I always see the same thing!
The text was updated successfully, but these errors were encountered: