Hello, we recently bought the htmlboxpro module from you and it's working good, but i have to place the created hook (which contains image url) to inline css background property and it's not working.
Exmaple:
Is it possible ? Thanks for reply.

the code you attached is wrong, it is incompatible with smarty standards,
try to use code below:
it should do the job. So the final code should be:
Exmaple:
<div style="background:#f0f0f0 url('{{hook::exec("HookimgURL") nofilter}|strip_tags:false}')" class="container-fluid">
Is it possible ? Thanks for reply.

Using html box pro as a css property
hellothe code you attached is wrong, it is incompatible with smarty standards,
try to use code below:
{hook::exec("HookimgURL")|strip_tags nofilter}
it should do the job. So the final code should be:
<div style="background:#f0f0f0 url('{hook::exec("HookimgURL")|strip_tags nofilter}')" class="container-fluid">
Comments
Post a Comment