Today is my day for figuring out how to disable Sub-panels! I will let you know as soon as I figure something out. Sugar is awesome, but Wow is it hard to simplify it for those of us who have users who look for the proverbial 'any' key.
Other things on my list are:
Removing that giant search form
You know the one, at the top of the ListView pages. Who needs that? There's a nice little search box in the top right of every page. If you go to modules/*module*/ListView.php, towards the bottom of the file there are some lines that say:
else {
$searchForm->displayBasic();
}
I commented out the middle line. As I read the code, the 'if' part of that 'if/else' statement can't come into play if you never display the giant search form in the first place.
else {
//$searchForm->displayBasic();
}
Editing Dashlet Configuration
In my Sugar, I don't want people to be able to close their dashlets. Because then they will, and I'll have to tell them how to get them back. No thanks. To remove the "Close" button, go to include/Dashlets/dashlet.php . Around line 80 is the code that makes the 'Close' button show up.
I commented out this:
// $additionalTitle .= '<a href="#" onclick="SUGAR.sugarHome.deleteDashlet(\'' . $this->id . '\'); return false;"><img width="13" height="13" border="0" align="absmiddle" title="Delete Dashlet" alt="Delete Dashlet" src="'. $image_path. 'close_dashboard.gif"/></a></div></td></tr></table>';
And replaced it with this:
$additionalTitle .= '</div></td></tr></table>';
Who uses vCards?
vCards are so 2002. I don't want that link in the Contacts form, because then someone will click it. And then they'll call me wondering what to do with it. In modules/Contacts/DetailView.php, I commented out lines 77 and 79 to make the whole vCard link/box go away. (You might have to do a "Save and Publish" from the studio to make it propgate. I'm not sure.)
Onward and upward! Or, perhaps in my case, lessward!
Eileen
Bookmarks