Writing Helpers within a theme file?
Wondering if anyone has a way to write an input helper within the theme file and then just include that file in the display helper. I'd much rather write the code in my editor than in a text box. using include() or require() throws permission errors.
Can this be done?
3 Answers
please specify "persmission errors", what do you mean exactly? Paste the error code.
Here is a screenshot of what I get when using <?php include('absolutepath'); ?>
Got help from scott. I needed to use TEMPLATEPATH
<?php include(TEMPLATEPATH.'/pods/pods-crop.php'); ?>


