Loading...
 
Architecture / Installation

Architecture / Installation


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

posts: 2383 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
{literal}...{/literal}
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 ;)

HTH,
luci

Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.