L
L
Lici2014-05-28 15:47:45
CMS
Lici, 2014-05-28 15:47:45

How to insert JavaScript code into Simpla CMS news page?

There is just news. Blog post, static page, it doesn't matter. Added via admin. In it on this page you need to call the JS code. Do not insert into the template, but call on a specific one page.
Tell me, how can this be done on Simpla CMS?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ilya Lesnykh, 2014-05-28
@Aliance

*rukalitsa*
How to insert js/php code into Simpla CMS page?
try asking on the toaster for the third time, maybe it will come...

A
Andrew Dabich, 2014-05-28
@dabich

In this case, there is an option: check the page id and in the template itself, at a certain id, display the js code that is needed for this page.
Or check the address in the js file and execute the code.
But in the block where the content is written, it is not clear what.

V
Viktor Vsk, 2014-05-28
@viktorvsk

If a blog, portal, portfolio or whatever is not important for you, only yours, then remove the escaping of html characters and add the code directly
. If there is no desire to distort, then add the js_code column to the post, work, news or whatever and fill in as needed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question