Comment to 'Disable embedly'
Comment to Disable embedly
  • You can disable Embedly by emptying "Embeds provider" field in Studio > Developer > Settings.

    • Oh, cool. Thank you! I also don't need tinymce and I see that field there as well. Does that mean if I empty sys_tinymce, that I never have to worry about the tinymce editor appearing anywhere?

      • 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.