Search found 3 matches

by ClarusAD
Mon Oct 06, 2025 4:42 pm
Forum: General Support
Topic: JavaScript not working in header file
Replies: 2
Views: 381

SOLVED Re: JavaScript not working in header file

Thank-you Fraenkiman, you're a king ! The soluce was to add the "nonce" part :

Code: Select all

{literal}<script nonce="{/literal}{$smarty.const.RANDOM_HEX}{literal}">…</script>{/literal}
by ClarusAD
Sun Oct 05, 2025 11:19 am
Forum: General Support
Topic: JavaScript not working in header file
Replies: 2
Views: 381

JavaScript not working in header file

Hello,
When i write some JS code in the header file
flatpress/fp-interface/themes/leggero/header.tpl
For example :

Code: Select all

{literal}<script> alert() </script>{/literal}
That doesn't work, and i don't understand why…

Can someone help me ?
Thank-you in advance
by ClarusAD
Sun Oct 05, 2025 9:39 am
Forum: General Support
Topic: Tag Plug-in does not work
Replies: 1
Views: 225

Tag Plug-in does not work

Hello,
i'd like tu use the Tag Plug-in, but after installing it i've got an 500 error from my server.
Here is my config :
-PHP 7 and 8
- flatpress 1.4.1
- Tag plugin 2.6.4

Thank-you for helping me to solve that issue