Multiple custom footers on SugarCRM view and metadata

I recently built a customisation for SugarCRM that required a custom footer on the metadata definition file.
This was a requirement, so that the final user was not able to edit the panel from Studio, and potentially damage the javascript intensive customisation.

To build the customisation as upgrade safe as possible, I created a custom view for the module I was customising, and inside the “display()” method, I set my own custom footer in the following way:

$this->ev->defs['templateMeta']['form']['footerTpl'] = 'custom/modules/Opportunities/mycustomfooter.tpl';

Then I coded all my business logic inside the display method and at the end, I called the “parent::display()” method.

Read more

Cloud – One step closer – DNS migration

What about… moving to the cloud?

It all started more than five years ago, using SugarCRM for managing customer relationships.
Then it was immediately time to migrate to Google Apps from the dodgy local mail server sitting inside the office on a dark corner.
After that, it was the turn of the accounting software: Saasu, an online accounting suite.

I have decided I’m now over maintaining multiple Name Servers around the world, and I just need something I do not need to worry much about.
Something with the infrastructure-as-a-service model.

Now it is the turn of my DNS to be cloud based.

Read more

iCalendar / vCalendar meeting invitation

Probably everybody is familiar with the calendar event invite features?

If you use Microsoft Windows (with Outlook) or Mac OSX (with iCal) or just a basic browser with a GMail account and you use the calendar functionality, you would have realized, that every time you get invited or invite someone to an event, you get a basic email, that adds the recipient to the calendar event.

I had to write an invitation tool that was cross compatible between different platforms and integrated with SugarCRM for a customer of InsightfulCRM (Australian SugarCRM Gold Partner) where I work.

Read more

Ubuntu 9.10 (Karmic Koala) batch upgrades

I had the need to upgrade multiple pcs with Ubuntu 9.04 without downloading for every single instance all the files needed for the upgrade process to work.
You will just need to download the “alternate” Ubuntu iso (that you can find here).

Then as next step you have 2 choices, burn the cd or mount the iso file locally as below:

sudo mount -o loop ubuntu-9.10-alternate-i386.iso /media/cdrom0

Then we can run the executable “cdromupgrade” inside the root of the cdrom:

sudo /cdrom/cdromupgrade &

and then follow the normal upgrade process through the interface.

Read more