Create new modules and edit current contact module
#1
Guest_helloworld_*
Posted 14 March 2012 - 12:15 PM
I wanted to implement my own module, i followed the following tutorial,
http://zurmo.org/wik...stomizing-zurmo
but i dont understand why the module do not show up in the front end. are we supposed to create a install script for eac newh module and excute that?
how do you make the new module apper in the menu?
i even tried duplicating the contact module, that still did not work?
At moment if i edit or make changes to default contact module, these change do not appy, for exmaple module menu name. i tried clearing the cache.
hope someone can clear few things out.
thanks
helloworld
#2
Posted 14 March 2012 - 04:29 PM
Jason Green
Zurmo Team
Need support? Upgrade now
#3
Guest_helloworld_*
Posted 14 March 2012 - 11:02 PM
If you want to share your repository, i can take a look and see if I can spot anything.
using the site on locahost i cant share at moment.
if you try renaming the menu name for the contact module on your system , you will notice the changes will not effect the system in the front end. any reason why?
#4
Posted 15 March 2012 - 07:13 PM
It is easiest if you make a repository on bitbucket and share it with me. Regarding the renaming, are you doing this through designer? or are you doing this in the code in the Contact.php file?
using the site on locahost i cant share at moment.
if you try renaming the menu name for the contact module on your system , you will notice the changes will not effect the system in the front end. any reason why?
Jason Green
Zurmo Team
Need support? Upgrade now
#5
Guest_helloworld_*
Posted 15 March 2012 - 10:12 PM
It is easiest if you make a repository on bitbucket and share it with me. Regarding the renaming, are you doing this through designer? or are you doing this in the code in the Contact.php file?
hi mate,
i modified the contact.php the label part.
thanks
#6
Posted 16 March 2012 - 01:36 PM
Contact.php metadata gets immediately stored into the database upon installation. So what you can do is also modify the globalmetadata table entry for contact. An easier way is to build something using CustomManagement. Look at the customization wiki entry here:
hi mate,
i modified the contact.php the label part.
thanks
http://zurmo.org/wik...stomizing-zurmo
You can look at the method resolveCustomMetadataAndLoad. In that method you could put your changes you want instead of doing it in Contact.php. This way it will be upgrade safe. Let me know if you still have questions.
Jason Green
Zurmo Team
Need support? Upgrade now
#7
Guest_helloworld_*
Posted 18 March 2012 - 05:10 PM
Contact.php metadata gets immediately stored into the database upon installation. So what you can do is also modify the globalmetadata table entry for contact. An easier way is to build something using CustomManagement. Look at the customization wiki entry here:
http://zurmo.org/wik...stomizing-zurmo
You can look at the method resolveCustomMetadataAndLoad. In that method you could put your changes you want instead of doing it in Contact.php. This way it will be upgrade safe. Let me know if you still have questions.
i see now, does this also mean all the default fields in the contact module are also stored in the database, name,description, etc... ?
i seen the wiki page you mentioned above, what i don't understand is that when i create a new module does it have be installed, cant we just manually place it in the modules directory? or any other better approach?
thanks,
helloworld
#8
Posted 19 March 2012 - 02:05 PM
You don't have to re-install the application. If you create a brand new module while the application is already installed, then most likely you will just need to clear cache via the url param &clearCache=1 or ?clearCache=1 depending on the url you are visiting. You just have to do this once to show your new changes. Are you having a specific issue?
i see now, does this also mean all the default fields in the contact module are also stored in the database, name,description, etc... ?
i seen the wiki page you mentioned above, what i don't understand is that when i create a new module does it have be installed, cant we just manually place it in the modules directory? or any other better approach?
thanks,
helloworld
Jason Green
Zurmo Team
Need support? Upgrade now
#9
Guest_helloworld_*
Posted 20 March 2012 - 07:18 PM
You don't have to re-install the application. If you create a brand new module while the application is already installed, then most likely you will just need to clear cache via the url param &clearCache=1 or ?clearCache=1 depending on the url you are visiting. You just have to do this once to show your new changes. Are you having a specific issue?
Downloaded animal module from bit-bucket and placed it in the modules directory, the system does not seem to recognize it. I also cleared the cache, does this module work out of the box?
thanks
#11
Guest_helloworld_*
Posted 22 March 2012 - 08:35 PM
Have you added code below to perInstance.php:
$instanceConfig = array( 'modules' => array( 'animals', ), ); $instanceConfig['components']['custom']['class'] = 'application.extensions.zurmozoo.components.ZurmoZooCustomManagement';
d'oh!!!!!!!
i will try it out
#12
Posted 03 May 2012 - 10:35 AM
<?php
class VehiclesModule extends SecurableModule
{
const RIGHT_CREATE_VEHICLES = 'Create Vehicles';
const RIGHT_DELETE_VEHICLES = 'Delete Vehicles';
const RIGHT_ACCESS_VEHICLES = 'Access Vehicles Tab';
public function getDependencies()
{
return array(
'configuration',
'zurmo',
);
}
public function getRootModelNames()
{
return array('Vehicle', 'VehiclesFilteredList');
}
public static function getUntranslatedRightsLabels()
{
$labels = array();
$labels[self::RIGHT_CREATE_VEHICLES] = 'Create VehiclesModulePluralLabel';
$labels[self::RIGHT_DELETE_VEHICLES] = 'Delete VehiclesModulePluralLabel';
$labels[self::RIGHT_ACCESS_VEHICLES] = 'VehiclesModulePluralLabel Tab';
return $labels;
}
public static function getDefaultMetadata()
{
$metadata = array();
$metadata['global'] = array(
'designerMenuItems' => array(
'showFieldsLink' => true,
'showGeneralLink' => true,
'showLayoutsLink' => true,
'showMenusLink' => true,
),
'globalSearchAttributeNames' => array(
'name'
),
'tabMenuItems' => array(
array(
'label' => 'VehiclesModulePluralLabel',
'url' => array('/vehicles/default'),
'right' => self::RIGHT_ACCESS_VEHICLES,
'items' => array(
array(
'label' => 'CreateVehiclesModuleSingularLabel',
'url' => array('/vehicles/default/create'),
'right' => self::RIGHT_CREATE_VEHICLES
),
array(
'label' => 'VehiclesModulePluralLabel',
'url' => array('/vehicles/default'),
'right' => self::RIGHT_ACCESS_VEHICLES
),
),
),
)
);
return $metadata;
}
public static function getPrimaryModelName()
{
return 'Vehicle';
}
public static function getSingularCamelCasedName()
{
return 'Vehicle';
}
protected static function getSingularModuleLabel()
{
return 'Vehicle';
}
protected static function getPluralModuleLabel() {
return 'Vehicle';
}
public static function getAccessRight()
{
return self::RIGHT_ACCESS_VEHICLES;
}
public static function getCreateRight()
{
return self::RIGHT_CREATE_VEHICLES;
}
public static function getDeleteRight()
{
return self::RIGHT_DELETE_VEHICLES;
}
public static function getDefaultDataMakerClassName()
{
return 'VehiclesDefaultDataMaker';
}
public static function getDemoDataMakerClassName()
{
return 'VehiclesDemoDataMaker';
}
public static function getGlobalSearchFormClassName()
{
return 'VehiclesSearchForm';
}
public static function hasPermissions()
{
return true;
}
}
?>
#13
Posted 03 May 2012 - 01:59 PM
Jason Green
Zurmo Team
Need support? Upgrade now
#14
Posted 03 May 2012 - 02:05 PM
<?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright © 2012 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY ZURMO, ZURMO DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* Zurmo is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact Zurmo, Inc. with a mailing address at 113 McHenry Road Suite 207,
* Buffalo Grove, IL 60089, USA. or at email address contact@zurmo.com.
********************************************************************************/
class VehiclesModule extends SecurableModule
{
const RIGHT_CREATE_VEHICLES = 'Create Vehicles';
const RIGHT_DELETE_VEHICLES = 'Delete Vehicles';
const RIGHT_ACCESS_VEHICLES = 'Access Vehicles Tab';
public function getDependencies()
{
return array(
'configuration',
'zurmo',
);
}
public function getRootModelNames()
{
return array('Vehicle', 'VehiclesFilteredList');
}
public static function getUntranslatedRightsLabels()
{
$labels = array();
$labels[self::RIGHT_CREATE_VEHICLES] = 'Create VehiclesModulePluralLabel';
$labels[self::RIGHT_DELETE_VEHICLES] = 'Delete VehiclesModulePluralLabel';
$labels[self::RIGHT_ACCESS_VEHICLES] = 'Access VehiclesModulePluralLabel Tab';
return $labels;
}
public static function getDefaultMetadata()
{
$metadata = array();
$metadata['global'] = array(
'designerMenuItems' => array(
'showFieldsLink' => true,
'showGeneralLink' => true,
'showLayoutsLink' => true,
'showMenusLink' => true,
),
'globalSearchAttributeNames' => array(
'name',
'anyEmail',
'officePhone',
),
'tabMenuItems' => array(
array(
'label' => 'VehiclesModulePluralLabel',
'url' => array('/vehicles/default'),
'right' => self::RIGHT_ACCESS_VEHICLES,
'items' => array(
array(
'label' => 'Create VehiclesModuleSingularLabel',
'url' => array('/vehicles/default/create'),
'right' => self::RIGHT_CREATE_VEHICLES
),
array(
'label' => 'VehiclesModulePluralLabel',
'url' => array('/vehicles/default'),
'right' => self::RIGHT_ACCESS_VEHICLES
),
),
),
)
);
return $metadata;
}
public static function getPrimaryModelName()
{
return 'Vehicle';
}
public static function getAccessRight()
{
return self::RIGHT_ACCESS_VEHICLES;
}
public static function getCreateRight()
{
return self::RIGHT_CREATE_VEHICLES;
}
public static function getDeleteRight()
{
return self::RIGHT_DELETE_VEHICLES;
}
public static function getDefaultDataMakerClassName()
{
return 'VehiclesDefaultDataMaker';
}
public static function getDemoDataMakerClassName()
{
return 'VehiclesDemoDataMaker';
}
public static function getGlobalSearchFormClassName()
{
return 'VehiclesSearchForm';
}
public static function hasPermissions()
{
return true;
}
}
?>
#17
Posted 03 May 2012 - 03:05 PM
Jason Green
Zurmo Team
Need support? Upgrade now
#18
Posted 03 May 2012 - 03:08 PM
Here is the metadata as you requested :
CREATE TABLE IF NOT EXISTS `globalmetadata` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`classname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`serializedmetadata` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
UNIQUE KEY `UQ_6950932d5c0020179c0a175933c8d60ccab633ae` (`classname`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=18 ;
--
-- Dumping data for table `globalmetadata`
--
INSERT INTO `globalmetadata` (`id`, `classname`, `serializedmetadata`) VALUES
(2, 'ContactsModule', 'a:5:{s:17:"designerMenuItems";a:4:{s:14:"showFieldsLink";b:1;s:15:"showGeneralLink";b:1;s:15:"showLayoutsLink";b:1;s:13:"showMenusLink";b:1;}s:26:"globalSearchAttributeNames";a:4:{i:0;s:8:"fullName";i:1;s:8:"anyEmail";i:2;s:11:"officePhone";i:3;s:11:"mobilePhone";}s:13:"startingState";i:1;s:12:"tabMenuItems";a:1:{i:0;a:4:{s:5:"label";s:25:"ContactsModulePluralLabel";s:3:"url";a:1:{i:0;s:17:"/contacts/default";}s:5:"right";s:19:"Access Contacts Tab";s:5:"items";a:2:{i:0;a:3:{s:5:"label";s:34:"Create ContactsModuleSingularLabel";s:3:"url";a:1:{i:0;s:24:"/contacts/default/create";}s:5:"right";s:15:"Create Contacts";}i:1;a:3:{s:5:"label";s:25:"ContactsModulePluralLabel";s:3:"url";a:1:{i:0;s:17:"/contacts/default";}s:5:"right";s:19:"Access Contacts Tab";}}}}s:15:"startingStateId";i:6;}'),
(3, 'Currency', 'a:3:{s:7:"members";a:3:{i:0;s:6:"active";i:1;s:4:"code";i:2;s:10:"rateToBase";}s:5:"rules";a:9:{i:0;a:2:{i:0;s:6:"active";i:1;s:7:"boolean";}i:1;a:3:{i:0;s:6:"active";i:1;s:7:"default";s:5:"value";b:1;}i:2;a:2:{i:0;s:4:"code";i:1;s:8:"required";}i:3;a:2:{i:0;s:4:"code";i:1;s:6:"unique";}i:4;a:3:{i:0;s:4:"code";i:1;s:4:"type";s:4:"type";s:6:"string";}i:5;a:4:{i:0;s:4:"code";i:1;s:6:"length";s:3:"min";i:3;s:3:"max";i:3;}i:6;a:4:{i:0;s:4:"code";i:1;s:5:"match";s:7:"pattern";s:19:"/^[A-Z][A-Z][A-Z]$/";s:7:"message";s:35:"Code must be a valid currency code.";}i:7;a:2:{i:0;s:10:"rateToBase";i:1;s:8:"required";}i:8;a:3:{i:0;s:10:"rateToBase";i:1;s:4:"type";s:4:"type";s:5:"float";}}s:32:"lastAttemptedRateUpdateTimeStamp";i:1336045752;}'),
(4, 'ZurmoModule', 'a:8:{s:18:"configureMenuItems";a:3:{i:0;a:5:{s:8:"category";i:1;s:10:"titleLabel";s:20:"Global Configuration";s:16:"descriptionLabel";s:27:"Manage Global Configuration";s:5:"route";s:32:"/zurmo/default/configurationEdit";s:5:"right";s:27:"Access Global Configuration";}i:1;a:5:{s:8:"category";i:1;s:10:"titleLabel";s:22:"Currency Configuration";s:16:"descriptionLabel";s:29:"Manage Currency Configuration";s:5:"route";s:33:"/zurmo/currency/configurationList";s:5:"right";s:29:"Access Currency Configuration";}i:2;a:5:{s:8:"category";i:1;s:10:"titleLabel";s:9:"Languages";s:16:"descriptionLabel";s:23:"Manage Active Languages";s:5:"route";s:33:"/zurmo/language/configurationList";s:5:"right";s:27:"Access Global Configuration";}}s:15:"headerMenuItems";a:4:{i:0;a:2:{s:5:"label";s:12:"Your Profile";s:5:"route";s:21:"users/default/profile";}i:1;a:3:{s:5:"label";s:5:"Admin";s:5:"route";s:13:"configuration";s:5:"right";s:25:"Access Administration Tab";}i:2;a:2:{s:5:"label";s:5:"About";s:5:"route";s:19:"zurmo/default/about";}i:3;a:2:{s:5:"label";s:6:"Logout";s:5:"route";s:20:"zurmo/default/logout";}}s:26:"tabMenuItemsModuleOrdering";a:5:{i:0;s:4:"home";i:1;s:8:"accounts";i:2;s:5:"leads";i:3;s:8:"contacts";i:4;s:13:"opportunities";}s:8:"timeZone";s:13:"Europe/London";s:12:"listPageSize";i:10;s:15:"subListPageSize";i:5;s:17:"modalListPageSize";i:5;s:21:"dashboardListPageSize";i:8;}'),
(5, 'MarginGroup', 'a:8:{s:7:"members";a:2:{i:0;s:4:"name";i:1;s:15:"consingedmargin";}s:9:"relations";a:1:{s:4:"type";a:3:{i:0;i:2;i:1;s:16:"OwnedCustomField";i:2;b:1;}}s:5:"rules";a:12:{i:0;a:2:{i:0;s:4:"name";i:1;s:8:"required";}i:1;a:3:{i:0;s:4:"name";i:1;s:4:"type";s:4:"type";s:6:"string";}i:2;a:3:{i:0;s:4:"name";i:1;s:6:"length";s:3:"max";i:100;}i:3;a:2:{i:0;s:15:"consingedMargin";i:1;s:8:"required";}i:4;a:3:{i:0;s:15:"consingedMargin";i:1;s:4:"type";s:4:"type";s:5:"FLOAT";}i:5;a:2:{i:0;s:17:"operatingStandard";i:1;s:8:"required";}i:6;a:3:{i:0;s:17:"operatingStandard";i:1;s:4:"type";s:4:"type";s:5:"FLOAT";}i:7;a:2:{i:0;s:11:"totalMargin";i:1;s:8:"required";}i:8;a:3:{i:0;s:11:"totalMargin";i:1;s:4:"type";s:4:"type";s:5:"FLOAT";}i:9;a:3:{i:0;s:15:"consingedmargin";i:1;s:6:"length";s:3:"max";i:255;}i:10;a:2:{i:0;s:15:"consingedmargin";i:1;s:8:"required";}i:11;a:3:{i:0;s:15:"consingedmargin";i:1;s:4:"type";s:4:"type";s:6:"string";}}s:8:"elements";a:1:{s:15:"consingedmargin";s:4:"Text";}s:12:"customFields";a:1:{s:4:"type";s:15:"MarginGroupType";}s:20:"defaultSortAttribute";s:4:"name";s:7:"noAudit";a:1:{i:0;s:15:"consingedmargin";}s:6:"labels";a:1:{s:15:"consingedmargin";a:1:{s:2:"en";s:8:"C Margin";}}}'),
(6, 'MarginGroupsModule', 'a:4:{s:12:"tabMenuItems";a:1:{i:0;a:4:{s:5:"label";s:29:"MarginGroupsModulePluralLabel";s:3:"url";a:1:{i:0;s:21:"/margingroups/default";}s:5:"right";s:24:"Access Margin Groups Tab";s:5:"items";a:2:{i:0;a:3:{s:5:"label";s:38:"Create MarginGroupsModuleSingularLabel";s:3:"url";a:1:{i:0;s:28:"/margingroups/default/create";}s:5:"right";s:20:"Create Margin Groups";}i:1;a:3:{s:5:"label";s:29:"MarginGroupsModulePluralLabel";s:3:"url";a:1:{i:0;s:20:"/margingroup/default";}s:5:"right";s:24:"Access Margin Groups Tab";}}}}s:17:"designerMenuItems";a:4:{s:14:"showFieldsLink";b:1;s:15:"showGeneralLink";b:1;s:15:"showLayoutsLink";b:1;s:13:"showMenusLink";b:1;}s:26:"globalSearchAttributeNames";a:1:{i:0;s:4:"name";}s:61:"MarginGroupEditAndDetailsView_layoutMissingRequiredAttributes";i:1;}'),
(7, 'VehiclesForAccountRelatedListView', 'a:2:{s:7:"toolbar";a:1:{s:8:"elements";a:1:{i:0;a:3:{s:4:"type";s:25:"CreateFromRelatedListLink";s:13:"routeModuleId";s:20:"eval:$this->moduleId";s:15:"routeParameters";s:42:"eval:$this->getCreateLinkRouteParameters()";}}}s:6:"panels";a:1:{i:0;a:1:{s:4:"rows";a:2:{i:0;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:3:{s:13:"attributeName";s:4:"name";s:4:"type";s:4:"Text";s:6:"isLink";b:1;}}}}}i:1;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:12:"vehicle_code";s:4:"type";s:4:"Text";}}}}}}}}}'),
(8, 'VehiclesSearchView', 'a:1:{s:6:"panels";a:2:{i:0;a:2:{s:5:"title";s:12:"Basic Search";s:4:"rows";a:1:{i:0;a:1:{s:5:"cells";a:2:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:4:"name";s:4:"type";s:4:"Text";}}}i:1;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";N;s:4:"type";s:4:"Null";}}}}}}}i:1;a:2:{s:5:"title";s:15:"Advanced Search";s:4:"rows";a:1:{i:0;a:1:{s:5:"cells";a:2:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:12:"vehicle_code";s:4:"type";s:4:"Text";}}}i:1;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";N;s:4:"type";s:4:"Null";}}}}}}}}}'),
(9, 'VehiclesMyListView', 'a:1:{s:6:"panels";a:1:{i:0;a:1:{s:4:"rows";a:4:{i:0;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:3:{s:13:"attributeName";s:4:"name";s:4:"type";s:4:"Text";s:6:"isLink";b:1;}}}}}i:1;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:12:"vehicle_code";s:4:"type";s:4:"Text";}}}}}i:2;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:6:"amount";s:4:"type";s:13:"CurrencyValue";}}}}}i:3;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:9:"closeDate";s:4:"type";s:4:"Date";}}}}}}}}}'),
(10, 'VehiclesMyListConfigView', 'a:3:{s:7:"toolbar";a:1:{s:8:"elements";a:1:{i:0;a:1:{s:4:"type";s:10:"SaveButton";}}}s:17:"panelsDisplayType";i:1;s:6:"panels";a:1:{i:0;a:2:{s:5:"title";s:12:"List Filters";s:4:"rows";a:2:{i:0;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:4:"name";s:4:"type";s:4:"Text";}}}}}i:1;a:1:{s:5:"cells";a:2:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:14:"ownedItemsOnly";s:4:"type";s:8:"CheckBox";}}}i:1;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:12:"vehicle_code";s:4:"type";s:4:"Text";}}}}}}}}}'),
(11, 'VehiclesModalSearchView', 'a:1:{s:6:"panels";a:2:{i:0;a:2:{s:5:"title";s:12:"Basic Search";s:4:"rows";a:1:{i:0;a:1:{s:5:"cells";a:2:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:4:"name";s:4:"type";s:4:"Text";}}}i:1;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:13:"createdByUser";s:4:"type";s:4:"User";}}}}}}}i:1;a:2:{s:5:"title";s:15:"Advanced Search";s:4:"rows";a:1:{i:0;a:1:{s:5:"cells";a:2:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:12:"vehicle_code";s:4:"type";s:4:"Text";}}}i:1;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:14:"modifiedByUser";s:4:"type";s:4:"User";}}}}}}}}}'),
(12, 'VehiclesMassEditView', 'a:4:{s:7:"toolbar";a:1:{s:8:"elements";a:2:{i:0;a:1:{s:4:"type";s:10:"SaveButton";}i:1;a:2:{s:4:"type";s:8:"ListLink";s:5:"label";s:40:"eval:Yii::t(''Default'', ''Return to List'')";}}}s:26:"nonPlaceableAttributeNames";a:1:{i:0;s:4:"name";}s:17:"panelsDisplayType";i:1;s:6:"panels";a:1:{i:0;a:1:{s:4:"rows";a:4:{i:0;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:5:"owner";s:4:"type";s:4:"User";}}}}}i:1;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:12:"vehicle_code";s:4:"type";s:4:"Text";}}}}}i:2;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:6:"amount";s:4:"type";s:13:"CurrencyValue";}}}}}i:3;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:9:"closeDate";s:4:"type";s:4:"Date";}}}}}}}}}'),
(13, 'VehiclesListView', 'a:1:{s:6:"panels";a:1:{i:0;a:1:{s:4:"rows";a:4:{i:0;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:3:{s:13:"attributeName";s:4:"name";s:4:"type";s:4:"Text";s:6:"isLink";b:1;}}}}}i:1;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:12:"vehicle_code";s:4:"type";s:4:"Text";}}}}}i:2;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:6:"amount";s:4:"type";s:13:"CurrencyValue";}}}}}i:3;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:11:"description";s:4:"type";s:8:"TextArea";}}}}}}}}}'),
(14, 'VehicleEditAndDetailsView', 'a:4:{s:7:"toolbar";a:1:{s:8:"elements";a:6:{i:0;a:2:{s:4:"type";s:10:"CancelLink";s:10:"renderType";s:4:"Edit";}i:1;a:2:{s:4:"type";s:10:"SaveButton";s:10:"renderType";s:4:"Edit";}i:2;a:3:{s:4:"type";s:8:"ListLink";s:10:"renderType";s:7:"Details";s:5:"label";s:40:"eval:Yii::t(''Default'', ''Return to List'')";}i:3;a:2:{s:4:"type";s:8:"EditLink";s:10:"renderType";s:7:"Details";}i:4;a:2:{s:4:"type";s:24:"AuditEventsModalListLink";s:10:"renderType";s:7:"Details";}i:5;a:2:{s:4:"type";s:17:"VehicleDeleteLink";s:10:"renderType";s:7:"Details";}}}s:21:"derivedAttributeTypes";a:3:{i:0;s:19:"DateTimeCreatedUser";i:1;s:20:"DateTimeModifiedUser";i:2;s:40:"DerivedExplicitReadWriteModelPermissions";}s:17:"panelsDisplayType";i:1;s:6:"panels";a:1:{i:0;a:2:{s:5:"title";s:0:"";s:4:"rows";a:7:{i:0;a:1:{s:5:"cells";a:2:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:4:"name";s:4:"type";s:4:"Text";}}}i:1;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:5:"owner";s:4:"type";s:4:"User";}}}}}i:1;a:1:{s:5:"cells";a:2:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:12:"vehicle_code";s:4:"type";s:4:"Text";}}}i:1;a:1:{s:8:"elements";a:1:{i:0;a:3:{s:13:"attributeName";s:5:"stage";s:4:"type";s:8:"DropDown";s:8:"addBlank";b:1;}}}}}i:2;a:1:{s:5:"cells";a:2:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:6:"amount";s:4:"type";s:13:"CurrencyValue";}}}i:1;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";N;s:4:"type";s:4:"Null";}}}}}i:3;a:1:{s:5:"cells";a:2:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:9:"closeDate";s:4:"type";s:4:"Date";}}}i:1;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";N;s:4:"type";s:4:"Null";}}}}}i:4;a:1:{s:5:"cells";a:1:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:11:"description";s:4:"type";s:8:"TextArea";}}}}}i:5;a:1:{s:5:"cells";a:2:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:4:"null";s:4:"type";s:40:"DerivedExplicitReadWriteModelPermissions";}}}i:1;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:4:"null";s:4:"type";s:20:"DateTimeModifiedUser";}}}}}i:6;a:1:{s:5:"cells";a:2:{i:0;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";s:4:"null";s:4:"type";s:19:"DateTimeCreatedUser";}}}i:1;a:1:{s:8:"elements";a:1:{i:0;a:2:{s:13:"attributeName";N;s:4:"type";s:4:"Null";}}}}}}}}}'),
(15, 'VehiclesModule', 'a:6:{s:17:"designerMenuItems";a:4:{s:14:"showFieldsLink";b:1;s:15:"showGeneralLink";b:1;s:15:"showLayoutsLink";b:1;s:13:"showMenusLink";b:1;}s:26:"globalSearchAttributeNames";a:2:{i:0;s:4:"name";i:1;s:12:"vehicle_code";}s:12:"tabMenuItems";a:1:{i:0;a:4:{s:5:"label";s:25:"VehiclesModulePluralLabel";s:3:"url";a:1:{i:0;s:17:"/vehicles/default";}s:5:"right";s:19:"Access Vehicles Tab";s:5:"items";a:2:{i:0;a:3:{s:5:"label";s:34:"Create VehiclesModuleSingularLabel";s:3:"url";a:1:{i:0;s:24:"/vehicles/default/create";}s:5:"right";s:15:"Create Vehicles";}i:1;a:3:{s:5:"label";s:25:"VehiclesModulePluralLabel";s:3:"url";a:1:{i:0;s:17:"/vehicles/default";}s:5:"right";s:19:"Access Vehicles Tab";}}}}s:57:"VehicleEditAndDetailsView_layoutMissingRequiredAttributes";N;s:20:"singularModuleLabels";a:1:{s:2:"en";s:7:"vehicle";}s:18:"pluralModuleLabels";a:1:{s:2:"en";s:8:"vehicles";}}'),
(16, 'Budget', 'a:8:{s:7:"members";a:4:{i:0;s:4:"name";i:1;s:5:"month";i:2;s:4:"year";i:3;s:12:"vehicleUnits";}s:9:"relations";a:8:{s:4:"type";a:3:{i:0;i:2;i:1;s:16:"OwnedCustomField";i:2;b:1;}s:12:"vehiclesales";a:3:{i:0;i:2;i:1;s:13:"CurrencyValue";i:2;b:1;}s:19:"vehichleGrossProfit";a:3:{i:0;i:2;i:1;s:13:"CurrencyValue";i:2;b:1;}s:10:"vehiclePPU";a:3:{i:0;i:2;i:1;s:13:"CurrencyValue";i:2;b:1;}s:14:"vehiclePercent";a:3:{i:0;i:2;i:1;s:13:"CurrencyValue";i:2;b:1;}s:11:"accessSales";a:3:{i:0;i:2;i:1;s:13:"CurrencyValue";i:2;b:1;}s:17:"accessGrossProfit";a:3:{i:0;i:2;i:1;s:13:"CurrencyValue";i:2;b:1;}s:13:"deliverySales";a:3:{i:0;i:2;i:1;s:13:"CurrencyValue";i:2;b:1;}}s:5:"rules";a:15:{i:0;a:2:{i:0;s:4:"name";i:1;s:8:"required";}i:1;a:3:{i:0;s:4:"name";i:1;s:4:"type";s:4:"type";s:6:"string";}i:2;a:3:{i:0;s:4:"name";i:1;s:6:"length";s:3:"max";i:100;}i:3;a:2:{i:0;s:5:"month";i:1;s:8:"required";}i:4;a:3:{i:0;s:5:"month";i:1;s:4:"type";s:4:"type";s:7:"integer";}i:5;a:2:{i:0;s:4:"year";i:1;s:8:"required";}i:6;a:3:{i:0;s:4:"year";i:1;s:4:"type";s:4:"type";s:7:"integer";}i:7;a:2:{i:0;s:12:"VehicleSales";i:1;s:8:"required";}i:8;a:3:{i:0;s:12:"VehicleSales";i:1;s:4:"type";s:4:"type";s:5:"FLOAT";}i:9;a:2:{i:0;s:18:"VehicleGrossProfit";i:1;s:8:"required";}i:10;a:3:{i:0;s:18:"VehicleGrossProfit";i:1;s:4:"type";s:4:"type";s:5:"FLOAT";}i:11;a:3:{i:0;s:5:"month";i:1;s:6:"length";s:3:"max";i:11;}i:12;a:3:{i:0;s:4:"year";i:1;s:6:"length";s:3:"max";i:11;}i:13;a:3:{i:0;s:12:"vehicleUnits";i:1;s:6:"length";s:3:"max";i:11;}i:14;a:3:{i:0;s:12:"vehicleUnits";i:1;s:4:"type";s:4:"type";s:7:"integer";}}s:8:"elements";a:10:{s:12:"vehiclesales";s:13:"CurrencyValue";s:5:"month";s:7:"Integer";s:4:"year";s:7:"Integer";s:19:"vehichleGrossProfit";s:13:"CurrencyValue";s:12:"vehicleUnits";s:7:"Integer";s:10:"vehiclePPU";s:13:"CurrencyValue";s:14:"vehiclePercent";s:13:"CurrencyValue";s:11:"accessSales";s:13:"CurrencyValue";s:17:"accessGrossProfit";s:13:"CurrencyValue";s:13:"deliverySales";s:13:"CurrencyValue";}s:12:"customFields";a:1:{s:4:"type";s:10:"BudgetType";}s:20:"defaultSortAttribute";s:4:"name";s:7:"noAudit";a:0:{}s:6:"labels";a:10:{s:12:"vehiclesales";a:1:{s:2:"en";s:13:"Vehicle Sales";}s:5:"month";a:1:{s:2:"en";s:5:"Month";}s:4:"year";a:1:{s:2:"en";s:4:"Year";}s:19:"vehichleGrossProfit";a:1:{s:2:"en";s:20:"Vehicle Gross Profit";}s:12:"vehicleUnits";a:1:{s:2:"en";s:13:"Vehicle Units";}s:10:"vehiclePPU";a:1:{s:2:"en";s:11:"Vehicle PPU";}s:14:"vehiclePercent";a:1:{s:2:"en";s:15:"Vehicle Percent";}s:11:"accessSales";a:1:{s:2:"en";s:12:"Access Sales";}s:17:"accessGrossProfit";a:1:{s:2:"en";s:19:"Access Gross Profit";}s:13:"deliverySales";a:1:{s:2:"en";s:14:"Delivery Sales";}}}'),
(17, 'BudgetModule', 'a:4:{s:12:"tabMenuItems";a:1:{i:0;a:4:{s:5:"label";s:24:"BudgetsModulePluralLabel";s:3:"url";a:1:{i:0;s:15:"/budget/default";}s:5:"right";s:17:"Access Budget Tab";s:5:"items";a:2:{i:0;a:3:{s:5:"label";s:33:"Create BudgetsModuleSingularLabel";s:3:"url";a:1:{i:0;s:22:"/budget/default/create";}s:5:"right";s:13:"Create Budget";}i:1;a:3:{s:5:"label";s:24:"BudgetsModulePluralLabel";s:3:"url";a:1:{i:0;s:15:"/budget/default";}s:5:"right";s:17:"Access Budget Tab";}}}}s:17:"designerMenuItems";a:4:{s:14:"showFieldsLink";b:1;s:15:"showGeneralLink";b:1;s:15:"showLayoutsLink";b:1;s:13:"showMenusLink";b:1;}s:26:"globalSearchAttributeNames";a:1:{i:0;s:4:"name";}s:56:"BudgetEditAndDetailsView_layoutMissingRequiredAttributes";i:2;}');
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
#19
Posted 03 May 2012 - 03:14 PM
Jason Green
Zurmo Team
Need support? Upgrade now
Also tagged with one or more of these keywords: contact, new, modules
Zurmo Discussions →
General Discussion for Zurmo →
How to assign a contact to an opportunityStarted by mjmccoy, 04 Jun 2013 |
|
|
||
Zurmo Discussions →
User Questions →
Adding contact to opportunityStarted by mjmccoy, 04 Jun 2013 |
|
|
||
Zurmo Discussions →
Extensions →
Animals module not working 100%Started by jeffstahlin, 14 May 2013 |
|
|
||
Zurmo Discussions →
Feature Requests →
Contact to Contact RelationStarted by benovic, 22 Mar 2013 |
|
|
||
Zurmo Discussions →
Feature Requests →
Birthday Field and PortletStarted by benovic, 22 Mar 2013 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users










