4images Modifications / Modifikationen > Templates & Styles (Releases & Support)
To Template Developers: avoid using PHP code in templates
ClickyMouse:
No one? :cry:
ClickyMouse:
Thanks man!
I'll try it
:wink:
capeinfo:
Thank you for a really great application. Well done!
Do you have any suggestions if one just has to use PHP templates - our menu includes a search facility that is dynamically-driven?
justMickie:
How would this work if you had, say 4 or more, php files to include and not just one?
V@no:
This topic was created when 4images v1.7 was the latest. Since then 4images handles php code inside templates much better. You can and I'd even say preferable use php code instead of registering new tags. (template tags require more server resources then plain php code)
The only problem with php code in templates, is that its hard to trace errors.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version