I am building prestashop module where in configuration page I have input filed where user is supposed to enter block of javascript code.
I get that code and save it to smarty but when I put it in smarty like
<script>
{$all_pages_tags}
</script>
I get it like string. How can I exit string and use this value as a block of code.