Hello
I want to make Text-area Fields Formattable.
Hello
I want to make Text-area Fields Formattable.
Hi Bhavin Patel
1.First create a text area field in from studio and add it to the record layout
2..Do a quick repair
3 Go to the folder <>/custom/modules/<modules>/clients/base/views/record
4.search for the field in the arrays and
for example if the field is like
8 =>
array (
'name' => 'testtextarea_c',
'studio' => 'visible',
'label' => 'LBL_TESTTEXTAREA',
'span' => 12,
),
replace it with
8 =>
array (
'name' => 'testtextarea_c',
'label' => 'LBL_TESTTEXTAREA',
'type' => 'htmleditable_tinymce',
//'dismiss_label' => true,
'span' => 12,
'tinyConfig' => array(
'script_url' => '<yoururl>/include/javascript/tiny_mce/tiny_mce.js',
'height' => '100%',
'width' => '100%',
'theme' => 'advanced',
'skin' => 'sugar7',
'plugins' => 'style,paste,inlinepopups',
'entity_encoding' => 'raw',
'forced_root_block' => false,
'theme_advanced_buttons1' => "code,separator,bold,italic,underline,strikethrough,separator,bullist,numlist,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,forecolor,backcolor,separator,fontsizeselect",
'theme_advanced_toolbar_location' => "top",
'theme_advanced_toolbar_align' => "left",
'theme_advanced_statusbar_location' => "none",
'theme_advanced_resizing' => false,
'schema' => 'html5',
'template_external_list_url' => 'lists/template_list.js',
'external_link_list_url' => 'lists/link_list.js',
'external_image_list_url' => 'lists/image_list.js',
'media_external_list_url' => 'lists/media_list.js',
'theme_advanced_path' => false,
'theme_advanced_source_editor_width'=> 500,
'theme_advanced_source_editor_height'=> 400,
'inlinepopups_skin' => 'sugar7modal',
'relative_urls' => false,
'remove_script_host' => false,
),
),
5.Do a proper quick repair and rebuild and then you can find your tinymce editor in the edit and the record view.
Hope this helps
Regards
Sidhu
Oh thats great Ramana, i was googling where i found this..i havent checked the link you have posted unfortunately...but it is good that it coincided.Thanks for reminding me.
Regards
Sidhu
Oh thats great Ramana, i was googling where i found this..i havent checked the link you have posted unfortunately...but it is good that it coincided.Thanks for reminding me.
Regards
Sidhu