-
Notifications
You must be signed in to change notification settings - Fork 3
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
Hey. #4
Comments
It seems Smarty isn't loaded at all. |
Thanks for reply. Managed to have operational maxnufsmarty now (fixed my config entries). say this works perfectly: {$this->doctype()} but seems php tag is faulty with your implementation getting error Tried to resolve it myself but no fun. |
well can't and shouldn't use {php} tags, they are deprecated. See http://www.smarty.net/docs/en/language.function.php.tpl I'm not sure why concatenation doesn't work. I'll look into it. |
Yeah concatenation with the .-operator like php won't work, because the . is special in smarty for array access. I'd the same problem but i solved it with the cat modifier from smarty. so instead of |
the cat modifier will work.
simply use '[ ]' instead
|
First of all thanks for creating this stuff. As integrating smarty into ZF2 for framework newbies is nightmare.
Second, have installed your module but in templates I get displayed
{$this->doctype()}
instead of having doctype executed and outputted.
Any possible reasons?
thanks
The text was updated successfully, but these errors were encountered: