Prestashop 1.7,通知存储在哪里?
Prestashop 1.7, where notifications are stored?
我在 Prestashop 1.7 中的通知有一点问题。
显示是这样的:
"Brak dostępnych adresów. <a href="https://morelowaszafa.pl/adres">Dodaj nowy adres</a>"
应该是这样显示的:"Brak dostępnych adresów. Dodaj nowy adres"
但不知何故它显示了所有锚点...我发现在页面源中有 <
而不是 <
和 >
而不是 >
但我不知道在哪里可以找到它并进行更改。
感谢您的帮助!
我找到了解决方法。
在themes\classic\templates_partials\notifications.tpl
从以下位置编辑第 46 行:
<li>{$notif}</li>
至:
<li>{$notif|@print_r|substr:0:-1}</li>
编辑文件themes/classic/templates/_partials/notifications.tpl
并替换:
<li>{$notif}</li>
与:
<li>{$notif nofilter}</li>
我在 Prestashop 1.7 中的通知有一点问题。
显示是这样的:
"Brak dostępnych adresów. <a href="https://morelowaszafa.pl/adres">Dodaj nowy adres</a>"
应该是这样显示的:"Brak dostępnych adresów. Dodaj nowy adres"
但不知何故它显示了所有锚点...我发现在页面源中有 <
而不是 <
和 >
而不是 >
但我不知道在哪里可以找到它并进行更改。 感谢您的帮助!
我找到了解决方法。
在themes\classic\templates_partials\notifications.tpl
从以下位置编辑第 46 行:
<li>{$notif}</li>
至:
<li>{$notif|@print_r|substr:0:-1}</li>
编辑文件themes/classic/templates/_partials/notifications.tpl
并替换:
<li>{$notif}</li>
与:
<li>{$notif nofilter}</li>