hello sugar developers
I need to change one thing of this menu, but I do not find the way to do this...I will explain myself in the image attached
Thanks so much
hello sugar developers
I need to change one thing of this menu, but I do not find the way to do this...I will explain myself in the image attached
Thanks so much
Hello,
If it is a custom module you can write the following piece of code in <YOURMODULE>.php
PHP Code:function get_summary_text()
{
return "$this-><YOURFIELDNAME>";
}
Thumbs up.
Skype ID - david__boris
SugarForge Projects:
WYSIWYG now in studio!(Version 1.1 is out now!)
Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.
Fab Tools! > Dashlet Not Followed Opportunities for past six Months
Wow!! This works!! Thanks so much davidboris
Hi.
Yes it works: added to modules/Contacts/Contact.php the following:
function get_summary_text()
{
return "$this->first_name $this->last_name ($this->account_name)";
}
And it generally works (I know that is not upgrade safe, but puting a new Contact.php to custom/modules/Contacts/Contact.php somehow didn't worked - will check later). But my problem is, that this is not limiting the lenght of the the output entry. Something limits the output to 15 characters. Couldn't find it so far. Is this somewhere in the theme?
Regards
Petr
Sometimes the answer comes while writing: 'tracker_max_display_length' => 15, in config.php ist the parameter to change. Funny is that in utils.php it says:
* getTrackerSubstring
*
* Returns a [number]-char or less string for the Tracker to display in the header
* based on the tracker_max_display_length setting in config.php. If not set,
* or invalid length, then defaults to 15 for COM editions, 30 for others.
So it looks that Pro editions comes with characters as default....
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks