GetSimple Support Forum
QUESTION disable HTML editor for one page only - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: QUESTION disable HTML editor for one page only (/showthread.php?tid=9594)



disable HTML editor for one page only - Ampersand - 2017-04-21

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

PHP Code:
<?php if ($HTMLEDITOR != '') { ?>
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.