-
Hey,
Wouldn't it be great if we could have nested templates with their own variables, not shared with the parent template?
I quickly hacked something that works for my case but I'm not sure it's oka…
-
## The idea
I have investigated the possibility of making template functions available without using the `$this` operator. For example, instead of calling `$this->layout('template')` you could use `l…
-
Performances are terrible (≈ 1 second for an Ajax page, without layout!) on a shared web hosting service.
Early research indicates that the number of included files (≈ **350**) could be responsible fo…
-
This request keeps coming up:
> Can we access template variables without the `$this` pseudo-variable?
As discussed in #9, this is not possible with template functions, and therefore it seemed unwise…
-
As of PHP 5.4, `` as short form of `` is always available, even if "short_open_tag" has been disabled. I'd love to use it, since it will make templates a lot more readable.
@contao/workgroup-core Can…
-
We **must** split fe_page into 3 single templates
- fe_page_head
- fe_page_body
- fe_page_foot
I assume 90% of all fe_pages overwrites are caused of re-structuring the containers within wich is OK.…
-
hi!
I had some trouble to get going with plates. As i think this is something you dont want to have, as plates is designed to be super simple and fast to implement.
If you would add a simple direct…
-
my default template dir is
``` php
new \League\Plates\Engine('path/to/templates');
```
and my template structure looks like
```
`-- path
`-- to
`-- templates
|-- index.php
…
-
Can you please check.
-
It would be awesome to have a method similar to Twig's `parent` method: http://twig.sensiolabs.org/doc/functions/parent.html.