Jump to content


k1000o

Member Since 09 Nov 2011
Offline Last Active Jul 09 2012 06:36 PM
-----

#936 Button to remove Opportunities from Contacts

Posted by k1000o on 26 May 2012 - 02:37 PM

SOLVED!
This was my first reflex but I got this error

Cannot access protected property ColorsForColorChartRelatedListView::$params

After I tried to write a method in the view to get the value
		public function getRelationModelId()
		{
			return  $this->params["relationModel"]->id ;
		}

And it works


#914 Formatting Rules for NetBeans

Posted by k1000o on 23 May 2012 - 02:08 PM

Hello

Would it be possible to have an export of the editor formatting rules for NetBeans?
When customizing new classes it's very useful to compare them with the standard ones.

Thanks.


#876 Problem installing 0.6.5 with class auditevent-serializeddata

Posted by k1000o on 19 May 2012 - 11:49 AM

Hello

I've trying to install the version 0.6.5, but during the install the following error occurs

SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'serializeddata' at row 1

After some investigation I found that the auditevent event table is created with the field serializeddata as VARCHAR(255), if we change it to TEXT the installation works fine.

How can we force the creation of this field as TEXT?


#299 Customize a field using colorpicker

Posted by k1000o on 25 January 2012 - 12:50 PM

ColorPicker.png How can we customize a field that uses the colorpicker jquery plugin.

http://www.eyecon.ro/colorpicker/

or a similar approach?


#133 Best practices for Custom Business Rules (CBR)

Posted by k1000o on 01 December 2011 - 09:51 PM

What is the best way to add Custom Business Rules to the system without affecting the standard platform behavior and making easy the migration to new releases.

The need is to provide the client or developer some files(folders) where he can implement his business rules that are automatically launched after and before the save action.

For example:
1) When creating a Contact and before it's saved by the system
- Read the department
- Based on the selected department build a customer code (with some rules)
- Assign this value to a new customized field called code
2) When creating a Contact and after it's saved by the system
- Read the department
- Assign a particular owner based on some rules
- Send an email to the owner informing that the new Contact xxx with code yyyy has been assigned to him

And when a new version of Zurmo is delivered he only has to move this folders/files to the new system and align the code if required.


#62 How to extend data model?

Posted by k1000o on 09 November 2011 - 10:31 AM

I would like to extend the data model of Zurmo in order to give him some extra functionalitie.
For example I would like to create a new class called color:
- From which class, controllers, views should I inherit?
- How to define the class and configure it so all tables are created during install (or post-install)
- How to secure it?
- How to add it to the menu? (principal or admin)