D
D
Dmitry P.2020-01-28 00:05:50
Prestashop
Dmitry P., 2020-01-28 00:05:50

PrestaShop outputs added hook in quotes, what is the reason?

Good evening,
A very incomprehensible situation has arisen - there is a store on PrestaShop 1.7, it has a module for adding arbitrary html (pwblockhtml) for which the necessary hooks have been added to the template. However, it brings them to the front like this -

"<p><img class="img-responsive" src="/img/banki.jpg" alt="Bank exchange" /></p>"

I have an assumption that somewhere in the settings of the Smarty compiler there is a blocking of the output of arbitrary html

The resource itself is https://pravilnaya-kosmetika-tlt.ru/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry P., 2020-01-28
@FoxitaMVP

The problem is solved - you need to add the nofilter property to the variable and then Smarty will start to understand html tags in the created hooks

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question