I am new in Expression engine. I know that We can not write PHP code in template due to security reason. I want to know the flow like from where can write php code and how it will render in my template ?
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. Join them; it only takes a minute:
Sign up
Sign up
Here's how it works:
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
Which version of EE are you working with? EE allows use of PHP in templates, but there are security factors to be aware of before you enable it, so you have to enable PHP processing on a per-template basis. PHP should not be a problem provided you have a good control of who can edit templates in your EE setup - vis:
You can find out more about how to embed PHP in EE templates from the EE documentation EE2 - https://docs.expressionengine.com/v2/templates/php.html EE3 - https://docs.expressionengine.com/latest/templates/php.html HTH |
|||||||||||||||||||||
|