Skip to the content
Documentation

language

No ratings yet

hi
i have a question
can i use php functions (for example "mail()") in a tpl ?
thanks

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Re: language

    Olivier Ouin ·

    Nope.
    You can't make direct calls to php functions in a template. You can only do it throught template operators, fetches, modules, etc.. and use them from your templates.
    You should look for documentation in this site about template operators development, they are quite simple to implement.