phpti
phpti copied to clipboard
PHP Template Inheritance (in straight PHP)
so you can do something like this... parent.php: ``` My Website Title | ``` child.php: ``` Contact ``` however, there is an issue when superblock() is called and there are...
It would be nice if there was a function to set a small string, rather than a whole block of markup. For example, I like to pass a class attribute...
This is my code. If I remove `form_open`, the code works. ``` Login ``` Here's the error message 
``` my value ``` .... don't want this .... ``` ``` PHPTI NEEDS TO BE SMARTER ABOUT THIS
Is there a way to use the old-style composition of having a separate header and footer file with inheritance? I want to create a base layout and include a header...