4images Modifications / Modifikationen > Templates & Styles (Releases & Support)

To Template Developers: avoid using PHP code in templates

<< < (2/3) > >>

No one?  :cry:

Thanks man!
I'll try it


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?

How would this work if you had, say 4 or more, php files to include and not just one?

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.


[0] Message Index

[#] Next page

[*] Previous page

Go to full version