I’m looking for the best/recommended way to include a simple helper functions file in a template without allowing PHP in said template?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
September 22, 2011 6:14pm
Subscribe [3]#1 / Sep 22, 2011 6:14pm
I’m looking for the best/recommended way to include a simple helper functions file in a template without allowing PHP in said template?
#2 / Sep 29, 2011 12:07pm
[comment removed]
#3 / Sep 29, 2011 2:25pm
Why dont you have a go at creating a plugin?
That way you can access your custom PHP script via EE Tags.
The docs are a good place to start theres even an example plugin to get you started:
http://ellislab.com/expressionengine/user-guide/development/plugins.html