orange office

The Blog

Our thoughts on technology

GX5 Blogs

Catch up on the latest technology news from our in house writers.

SPOTTED: Time to 'blame' someone on LinkedIn

SPOTTED: Time to 'blame' someone on LinkedIn

I was attempting to log into my LinkedIn account today as usual when I spotted what seems to be a stray message on the home page. The message simply displays false on the top right hand corner on the homepage at

The message could have been human error if someone tried to test a feature and simply forgot to take it out or, it there really is an error on LinkedIn. It would be interesting to know what it is either way. The message doesn't seem to appear out of place as it is nested in a div with class global-error suggesting that the message has come through some sort of error messaging system for the site itself.


Looks like someone will be getting the stick the next time LinkedIn reviews the code. It goes to show that even giant teams with multiple review processes can miss issues on large projects and this highlights the importance of multiple testing procedures. You can see the error for yourself at 

Share this article:

Continue reading
1033 Hits

Display 'Add to Target List' for custom module on SugarCRM 7

Display 'Add to Target List' for custom module on SugarCRM 7

We wrote recently about customising your custom module for Campaigns in our post 'Using SugarCRMs campaign module with a custom module'. This post will allow you to display the 'Add To Target List' on the list view drop down on SugarCRM 7.

To begin, follow the steps detailed in our previous blog post. If you already have, you can begin customising straight away.

  1. Add the field descriptor for the new button. Open ./modules/modulename/clients/base/views/recordlist/recordlists.php
                    'name' => 'addtolist_button',
                    'type' => 'button',
                    'label' => 'LBL_ADD_TO_PROSPECT_LIST_BUTTON_LABEL',
                    'primary' => true,
                    'events' => array(
                        'click' => 'list:massaddtolist:fire',
                    'acl_module' => 'ProspectLists',
                    'acl_action' => 'edit',
  2. Add a new field to load the target lists. Open ./modules/modulename/vardefs.php. Under the fields array, add:
    'prospect_lists_name' => array(
                'name' => 'prospect_lists_name',
                'type' => 'link',
                'relationship' => 'prospectlists_modulename_1',
                'module' => 'ProspectLists',
                'source' => 'non-db',
                'vname' => 'LBL_PROSPECT_LIST',
    Replace prospectslists_modulename_1 with the name of the relationship between your module and Target Lists module.

  3. Run Quick Repair and you should be able to add a selection of records from your custom module to a target lists.

For SugarCRM consulting, use our contact form or request a call back.

Share this article:

Continue reading
6840 Hits

Why I use NetBeans for everything PHP.

Why I use NetBeans for everything PHP.

Like many of web developers I started life using dreamweaver to do all my coding. It is a robust piece of software and it's very hard for anybody to claim otherwise. However, I needed to write a custom website and I soon began to see some limitations with Dreamweavers' ability. Needless to say, I needed an alternative.

So I went onto the road undertaken by many when venturing into the unknown. I asked around some forums and searched my way through blogs. I already knew about Netbeans I just wanted to know what IDE would be great to program PHP in.

To my amazement, nobody mentioned Dreamweaver anywhere (well unless you specifically searched for it). Netbeans kept popping up as well as Sublime Text 2 and Eclipse with PDT. I am a Windows user so Sublime was out of the question.

I decided to give Netbeans a serious go, I started out by creating a simple HelloWorld application. The process was simple. I opened up the program and was immediately able to use the simple to learn controls.

b2ap3_thumbnail_Screen-Shot-2014-05-06-at-20.22.21.pngNext step, a bigger project. How well could netbeans manage a program with more than one file and how would it link it together?

Turns out, pretty simple actually. Netbeans allows you to start a PHP project and the environment settings are all PHP. Everything just seems right for coding in PHP. What I love the most though is how easily the intellisense adapts to new programming frameworks being added to the project. For example, If I was working on a new project and I created a new class, Netbeans already knows about it and I can reference the class, or namespace, or framework from another part of my application.

b2ap3_thumbnail_Screen-Shot-2014-05-06-at-20.32.34.pngAnother reason why Netbeans is just right for PHP development is the seamless integration with tools like APIGen and composer. In fact, in the new Netbeans 8.0, composer is built in to the project creation process so that you can easily state your dependencies while creating your project. If utilised, your dependencies are downloaded when you first start your project. But that's not the genius of it. You can search through every project on Github right from your IDE and simply pick the ones you want. It's genius.

Next time you are considering PHP development, consider Netbeans and see how easy it is to develop for PHP.

You can download Netbeans from here. Let us write you a program.

Share this article:

Continue reading
2815 Hits