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
Update: I'm currently passing data from index up to layouts/main & down to partials/sidebar in a similar fashion to the stacked layouts in the docs, which feels a bit like prop drilling. Wondering if that's the optimal way.
Hey!
I hope you were able to use plates in your project.
Here's an example of how I'm using it.
The home.php view calls the head.php file which is in the "html" folder in the root directory used by plates.
I'm just using $this->insert and $this->section
See the example code:
Demo structure:
I "extend" layouts/main.php from index.php, how do I change something like a heading inside sidebar.php from index.php?
The text was updated successfully, but these errors were encountered: