I need ot use php includes to suck in my header and footer from a static php file. I do this for themeing and to maintain the same appearance across the various scripts I use. Doing a Google search I found on your old legacy forums that you do not have support for simple php includes, but was not able ot discover which version this pertained to.
I tried to do a include using:
{include_php file="/paqth/to/file/file.php"}
It did not work. This works for me with other systems using smarty. Is this still not possible or am I doing it wrong?
ACCORD5 Company Forums » Trellis Desk » General Discussion
php includes still not supported in the templates?
-
Posted 1 year ago #
-
Trellis Desk v1 actually doesn't use Smarty. It uses my own system that I made look very similar to Smarty. :P Sorry for the confusion.
Trellis Desk 2 does use Smarty and you will be able to use PHP includes.
Posted 1 year ago # -
Ah gotcha. That makes sense then. :)
Is there any way to pull in a external file like I am looking to do other then a include?
Posted 1 year ago # -
Not without modifying the source code, unfortunately. The template system in v1 won't allow it. =/
Posted 1 year ago # -
Gotcha. okey dokie, thanks for the quick answers. :)
Posted 1 year ago #
Reply to this topic
You must log in to post.
© 2011 ACCORD5
