sugardev.net's blog

Override MVC methods while keeping arguments

When extending functions in Sugar's MVC framework, it's quite possible you need to call the parent method before or after your code to allow for the original code to run. In the official documentation and in SugarCRM's code itself, the "parent::method()" method is pretty common. However, this can cause a problem with changing function arguments.

SugarDev Developer Tools 0.5.2 gives you back control!

Hi all,

I've just posted the new release of the Developer Tools on SugarForge, you can download it from here.

Key enhancements:

  • Option to remove the advertising iframe in Configuration
  • Option to remove the advertising dashlets for all users
  • Various fixes and support for 5.2
  • MD5 hash checker to check your SugarCRM files for core hacks, non-upgrade-safe modules and patches
  • Repair More now repaird Table Dictionary
  • Live Log puts the log lines directly underneath the page!

Updated API to 5.0.0h and 5.1.0a

Both 5.0 and 5.1 APIs have been updated to the latest patch versions. Enjoy!

SugarDev.net Tools 0.3 released

I just released 0.3 of my SugarCRM tools module.

Features

  • Meta Driven UI Checker: This tool will display all current fields of all modules, including non-db fields and custom fields. It uses coloring and error messages to point users to possible errors in their definition files. It makes use of severity levels.
  • Repair More: SugarCRM's interface has no option for rebuilding custom Beans, like happens when new modules are (un-)installed or en-/disabled, or Unified Search modules. This tool can repair things SugarCRM cannot.
  • LogViewer Tool: Makes it very easy for the admin to view the current log file. Like the UI Checker, it will use coloring to differentiate the different types of severity levels used in the log file.
  • Hidden Configuration Options: This will be an addition to the System Settings, containing the things you won't find in a standard SugarCRM instalation. Contains a lot of performance options.
  • MReassign Records from a User (inspired by original SugarCRM code)
  • Database Backup: Sugar only allows you to make a File Backup. Now, you can also backup your most valuable data: Your database.
  • Sugar Down: Take down your SugarCRM install for maintenance. While down, Sugar is only reachable for Admin users. Back up, anyone can
    again log in.
  • User Preferences: View and modify user's preferences right from SugarCRM.

Download it for free here!

Changelog:

Sugar needs to add Simpleness to the MVC framework

Just spraying out some thoughts just after fixing a custom view with a custom action name is a default module..

The action that I have is FullTextSearch. This is camelcase, because it's Sugar's convention. Fine. But now, I want to create a custom view, which needs to be called ./custom/modules/views/view.fulltextsearch.php>, because of:

<?php
class ViewFactory{
    function
loadView($type = 'default', $module, $bean = null, $view_object_map = array()){
        ---->
$type = strtolower($type);
?>

API Reference updated to 5.0.0f + 5.1.0RC + downloadable files

The API Reference has been updated to the F patch.

Also, a 5.1.0RC version is available from now.
And more: I've submitted a new project proposal at SugarForge, introducing a Sugar project that will contain downloadable API documentation you've requested.

A look at the 5.0 e patch

SugarCRM's freight train of bugfixing has passed yet another station. The E patch is here:


This patch addresses over 100 bugs found in version 5.0.0 with a particular focus on the Email module, including:

* Bug 19354 - After you customize a List View, you can no longer merge duplicate records, export records, and delete records by selecting the checkboxes anymore.
* Bug 19657 - Some international characters do not display correctly in Sugar.
* Bug 20140 - Attempts to send an Email fails if the Email recipient’s name contains special characters.

SugarDev.net Development Tools 0.2 released

Version 0.2 alpha was released today, adding this functionality:

- A feature to transfer ownership of records from one user to another.

Download

Introducing SugarDev Tools - 0.1 alpha Released!

I've been working on a few tools that help developers and implementors to configure and develop SugarCRM. These are released by this site on SugarForge, and will carry the name SugarDev Development Tools.

5.1 beta: Studio Grows Up

This week, SugarCRM released its first beta of SugarCRM 5.1.0. This release promises to be quite important to the future of SugarCRM.

Syndicate content