in the interface I display the block "Insert code on the page"
into which I insert the following script [file]1252[/file] to display text on the page
If you refresh the page, then everything is fine,
if you click "save", then nothing but the text of the script is displayed on the page
here is a video where it is shown https://www.loom.com/share/e15437b0af8a467289a6a7e4c93f68d7
you can test here https://avtoservice.crm-onebox.com/admin/customorder/lead/1/edit/
please fix the block.
Bodyako Dmitry Employee wrote: With your script, you break part of the logic of the tpl task. Rewrite your script, leaving in it, for example, just the necessary html code.
Would it be hard to drop an example? now like this script> document.write("Just text and newline<br>Second line of text"); /script>
[quote]
Bodyako Dmitry
Employee wrote:
With your script, you break part of the logic of the tpl task. Rewrite your script, leaving in it, for example, just the necessary html code.
[/quote]
Would it be hard to drop an example?
now like this
script>
document.write("Just text and newline<br>Second line of text");
/script>
it turns out that if there are no script keywords in the text, then nothing is output by this block. here is the code that displays what you need on the page
it turns out that if there are no script keywords in the text, then nothing is output by this block.
here is the code that displays what you need on the page [file]1272[/file]
it turns out that if there are no script keywords in the text, then nothing is output by this block. here is the code that displays what is needed on the page
it turns out that if there are no script keywords in the text, then nothing is output by this block.
here is the code that displays what is needed on the page [file]1273[/file]
Bodyako Dmitry Employee wrote: Probably there is a check for tags, which is written in the block settings.
nope, not written )) anyway. figured it out))
[quote]
Bodyako Dmitry
Employee wrote:
Probably there is a check for tags, which is written in the block settings.
[/quote]
nope, not written )) [file]1274[/file]
anyway. figured it out))
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up