Hi All,
Is it possibe to expand the size of the TextArea so it takes up the entire width of the page rather than half of it?
Many Thanks
Hi All,
Is it possibe to expand the size of the TextArea so it takes up the entire width of the page rather than half of it?
Many Thanks
upgrade safe solution: indicate cols/rows in /modules/{module}/metadata/editviewdefs.php indicating 'displayParams'=>array('cols'=>40, 'rows'=>4')
if you want to use style="width:100%" then you'd have to modify include/SugarFields/Fields/Text/EditView.tpl
Farkhad Rakhimzhanov
E-mail: farkhad@gmail.com
Skype: rakikama
SuperTimesheet and Invoicing — timesheet tool with invoicing for SugarCRM.
Book time against Cases, Project Tasks and Projects.
Create invoice regarding booked time, print it in PDF or HTML,
customize template as you like.
hi
you can put it on
custom/modules/(YOUR_MODULE)/metadata/editviewdefs.php
array(
array('field' => 'UR_FIELD_NAME', 'displayParams' => array('rows' => '??', 'cols' => '??'))
),
?? provide the size of Your choice
it will help you.
Thanks
Best Regards
---------------------------------------
Jaydeepsinh Sagar
Hi All,
Thanks for your replys, can you give me an example of where i would actually insert the code into the file?
Many Thanks
For instance, to change the width of the description field in Accounts go to custom/modules/Accounts/metadata/editviewdefs.php and find and edit the following code:
Just change the 'cols'=>80, to how wide you would like it to be. If you don't see an editviewdefs.php file in the metadata folder (because you haven't done any Studio changes for that file yet) the easiest thing to do is copy the editviewdefs.php file from modules/YOURMODULE/metadata to custom/modules/YOURMODULE/metadata.PHP Code:'lbl_description_information' =>
array (
0 =>
array (
0 =>
array (
'name' => 'description',
'displayParams' =>
array (
'cols' => 80,
'rows' => 6,
),
'label' => 'LBL_DESCRIPTION',
),
),
),
Co-Founder of: SugarOutfitters
Modules:
SecuritySuite (Teams)
Photo Module
Follow me on Twitter:eggsurplus
Your Personal Developer
Hi,
I too am trying to change the size of textarea. I am trying to follow the instructions mentioned in this thread however, when I go to the /modules directory, there is nothing in there.
I am running SugarCRM 5.2.0c (orginally 4.5.1, updated incrementally all the up to 5.2.0c) on Ubuntu. When I browse to /var/www/SugarCRM/modules, there is no files at all.
Can anyone help me locate where the files I need to edit.
Thanks,
Sorry to reopen an old thread. It's the only one I could find.
I'm trying to do this for LBL_DESCRIPTION in opportunities in Version 5.5.0a.
I have tried editing {path}/modules/Opportunities/metadata/editviewdefs.php
It already has a description entry:
I'm not a coder. I've tried adding various versions of...Code:array ( 'description', ),
And rebuilding the database, but nothing seems to change it. Any advice appreciated.Code:array( array('field' => 'LBL_DESCRIPTION', 'displayParams' => array('rows' => '12', 'cols' => '40')) ),
hi,
you said you rebuild the database, but you need to clear the cache.
try this admin->repair->Quick Repair and Rebuild.
it will clear the cache.
Best Regards
---------------------------------------
Jaydeepsinh Sagar
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks