Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Smarty usage in Vanilla
Looking at code, I want to ask strange question.
Do we really need Smarty in Vanilla default themes (or Vanilla at all)?
In current version, only mobile and embedded themes use smarty, and in such a way that it can be converted very fast to php similar to views approach.
For me, it just looks like overkill.
Do we really need Smarty in Vanilla default themes (or Vanilla at all)?
In current version, only mobile and embedded themes use smarty, and in such a way that it can be converted very fast to php similar to views approach.
For me, it just looks like overkill.
0
Comments
Making php files out of this templates.
If you use the mobile and embedded themes, in the smarty compile cache the files with rendered PHP contents will be generated.
Save those files and convert them to your PHP only templates.
The Clean theme has a nice example of mixing PHP into the template.
There was an error rendering this rich post.
I'll make same thing with others.
I want to eliminate Smarty completely from my version.
What would you like to change from smarty to PHP in the mobile theme? The menu?
There was an error rendering this rich post.