ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Including a "helper"

September 22, 2011 6:14pm

Subscribe [3]
  • #1 / Sep 22, 2011 6:14pm

    discern

    6 posts

    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

    ralph.m

    225 posts

    [comment removed]

  • #3 / Sep 29, 2011 2:25pm

    welshfusion

    19 posts

    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

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases