Architecture / Installation

Architecture / Installation

Re: Screen White-Out After Custom Code Additions in "Look&Feel/Customisation"

posts: 2428 Czech Republic

Hi Thomas,

if your code contains curly brackets (rather common in JavaScript code) these custom code textareas interpret them as if they were Smarty syntax (sadly it uses curly brackets too).

To avoid this issue wrap your code inside
Smarty block and it should be fine (no more WSODs).

You may ask why do not we make that by default? It is so because sometimes you really want custom Smarty syntax there to do various kind of conditional checks and tricks using Smarty ;)