It does not: a function outside the policy fails the compile with a message, so silence means the call is not being compiled. It sits inside {literal} or a comment; the file you edited is not the one rendering (a same-named site or platform file wins, or the layout points elsewhere); production is still serving the compiled template from before the deploy; or the site is Twig, which ignores an unknown method and renders nothing.
Answer
Errors and blank pages
A Smarty template seems to skip a PHP function I called
More in Errors and blank pages
- A Twig template errors on an undefined variable that used to render empty
- Output is double-escaped, or not escaped at all, after a template was ported
- "Method X does not exist" when rendering a record
- "Property X does not exist" from a shorthand area call
- A shorthand call returns a getter's value instead of my area
Was this page helpful?
Your answer goes to the docs team.