L
L
Lici2014-05-28 00:15:06
CMS
Lici, 2014-05-28 00:15:06

How to insert js/php code into Simpla CMS page?

There is a simple page created in the admin panel. You need to paste the code there, sometimes php, sometimes js. Not processed. In wp, this was solved by a plugin, there is no such thing here.
How can I insert code so that it is processed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ivetos, 2016-02-12
@ivetos

JS needs to be wrapped in {literal}...{/literal}
And PHP {php}...{php}, but Smarty needs to be allowed to use these tags, replace false with true

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question