Hi all
how do i create a block in Layout manager in order to paste the script onto my site?
thanks
Hi allhow do i create a block in Layout manager in order to paste the script onto my site?thanks
Hello!
Please go to Design->Layouts->Default tab->Create a block with "HTML block with Smarty support" type in header container.
I suggest you to wrap your script with the following code to avoid issues with SMARTY
{literal} ... your script here... {/literal}
Is your script going to use any smarty variables? If so, just make sure that any {}'s are on separate lines and you won't need the literal tags.
The best way (rather than a block) is to use your my_changes/hooks/index/scripts.post.tpl file to add any needed code into the 'head' area.