The tags for PHP are {php} {/php} Your PHP code (without the ) go within the tags.
But you should take a serious look at why you’re doing PHP in the user-interface. You can probably use a “controller” and assign variables that would then be accessible in the template files without having to use php tags in the UI.
[quote name=‘adodric’]Most likely you are pointing to the wrong directory for the file. Also, remove the space between
“include” and the “(”, this shouldn’t matter but in php there is typically not a space.[/QUOTE]
Thanks for your advice. I tried all, but the {php} tag doesn’t work. Whenever you have the time, I’ll be grateful if you provide a tested example, via PM if is better for you. Best regards.
You can’t use template variable or tags in the text boxes in the admin interface. You can only use HTML. If that’s what you meant by the template editor, then I missunderstood what you were wanting to do.
Note that after almost any change to templates, you should clear your cache for the changes to take affect.