ACCORD5
Add a reply

ACCORD5 Company Forums » Trellis Desk » General Discussion

php includes still not supported in the templates?

 
  • Started 1 year ago by columbusgeek
  • 5 posts in this topic
  • Latest reply from columbusgeek
  1. 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?

    Posted 1 year ago #
  2. 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 #
  3. 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 #
  4. Not without modifying the source code, unfortunately. The template system in v1 won't allow it. =/

    Posted 1 year ago #
  5. Gotcha. okey dokie, thanks for the quick answers. :)

    Posted 1 year ago #

RSS feed for this topic

Reply to this topic

You must log in to post.