Insert template relative to current #79

Open
oscarotero opened this Issue Aug 3, 2015 · 2 comments

Projects

None yet

3 participants

@oscarotero

Hi.
I use directories to organize my templates and I miss an option to insert a template using a relative path. Something like this:

<?php $this->insert('./my-template') ?>

This should be useful to avoid repetitions and to allow move templates without break them. What do you think?

@funivan
funivan commented Nov 30, 2016

class Name is hardcoded in the plates template. Overwriting this class can solve your problem. I have similar problem with the Name class

@ragboyjr
Contributor

A naming strategy system discussed in #130 would also work for this. I'll keep this ticket around though because we'd need to develop a system that would work for both types of issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment