Prestashop 1.7,存储通知?

时间:2017-09-03 16:20:26

标签: notifications prestashop

我在Prestashop 1.7中收到通知时遇到了一些问题。

它显示如下:

"Brak dostępnych adresów. <a href="https://morelowaszafa.pl/adres">Dodaj nowy adres</a>"

它应该显示如下:“Brakdostępnychadresów。Dodaj nowy adres

但不知怎的,它显示了所有锚...我发现在页面源中有&lt;而不是<&gt;而不是>

但我不知道在哪里找到它并改变。 谢谢你的帮助!

2 个答案:

答案 0 :(得分:1)

修改档案themes/classic/templates/_partials/notifications.tpl

并替换:

<li>{$notif}</li>

使用:

<li>{$notif nofilter}</li>

来源:https://github.com/PrestaShop/PrestaShop/pull/7554/files

答案 1 :(得分:0)

我已找到答案如何解决。

在themes \ classic \ templates_partials \ notifications.tpl

编辑第46行:

<li>{$notif}</li>

为:

<li>{$notif|@print_r|substr:0:-1}</li>

在此处找到答案:http://forge.prestashop.com/browse/BOOM-3033

相关问题