2017-04-21, 04:24:39
Any ideas how to switch off loading of ckeditor for the index page? Or for any page using the defined template?
How to hack line 314 of edit.php
to add one more condition, ex.
if ($templatename=='selectedtemplate') or [i]if ($id=='selectedpage') [/i]
? Would it be enough to add another condition only there?
Any suggestions welcome.
How to hack line 314 of edit.php
PHP Code:
<?php if ($HTMLEDITOR != '') { ?>
if ($templatename=='selectedtemplate') or [i]if ($id=='selectedpage') [/i]
? Would it be enough to add another condition only there?
Any suggestions welcome.