php - SugarCRM, displaying data as HTML in DetailView -


in sugarcrm, have tried use rich text editor fields using tinymce , stores , renders in editview in listview , detailview output displaying tags instead of formatting.

in database storing html tags expected. looking solution how render formatting in detailview section.

enter image description here

in detail view

enter image description here

i found solution decode html characters in smarty in customcoce in detailviewdefs.php file.

'name' => 'editor_c', 'studio' => 'visible', 'customcode' => '{$fields.editor_c.value|escape:\'htmlentitydecode\' |escape:\'html\'|strip_tags|url2html|nl2br}',


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -