GetSimple Support Forum

Full Version: disable HTML editor for one page only
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.