Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change template file suffix (again) #76

Closed
webbird opened this issue Mar 21, 2013 · 2 comments
Closed

Change template file suffix (again) #76

webbird opened this issue Mar 21, 2013 · 2 comments

Comments

@webbird
Copy link
Contributor

webbird commented Mar 21, 2013

When we started to move from the old PHPLib template engine to Dwoo, we created a new template suffix "LTE", which means "Lepton Template Engine". As we're no longer developing Lepton, we should go back to htt or tpl. It's also more common and developers may feel more familiar. What do you think? Suggestions?

My preference would be tpl (for template), but I don't stick with it. ;)

@creativecat
Copy link
Contributor

Definitely .tpl

@webbird
Copy link
Contributor Author

webbird commented Apr 12, 2013

I've extended the Dwoo Driver to auto-search the template if no suffix is given. So use $parser->get('mytemplate') instead of $parser->get('mytemplate.tpl') to let the driver auto-scan the right suffix. For now, suffixes 'tpl', 'lte' and 'htt' are supported.

@webbird webbird closed this as completed Apr 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants