Comment to 'Disable embedly'
Comment to Disable embedly
  • HI Billy!

    You may also to change this code in your template/scripts/BxBaseFormView.php

    function addHtmlEditor($iViewMode, &$aInput)

        {

            $oEditor = BxDolEditor::getObjectInstance(false, $this->oTemplate);

            if (!$oEditor)

                return false;

            $this->_sCodeAdd .= $oEditor->attachEditor ('#' . $this->aFormAttrs['id'] . ' [name='.$aInput['name'].']', $iViewMode, $this->_bDynamicMode);

            return true;

        }

    to this one:

    function addHtmlEditor($iViewMode, &$aInput)

        {        

            return true;

        }

    But better to disable the necessary fields via Studio->Forms app, just chose "No editor" in the corresponding field.