mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-25 10:08:05 +02:00
lots
This commit is contained in:
parent
3b393be4f4
commit
0b96026602
17 changed files with 458 additions and 38 deletions
9
xml/Menu/contactcats.xml
Normal file
9
xml/Menu/contactcats.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0"?>
|
||||
<menu>
|
||||
<item>
|
||||
<path>civicrm/admin/contactcategory</path>
|
||||
<page_callback>CRM_Contactcats_Page_Settings</page_callback>
|
||||
<title>Settings</title>
|
||||
<access_arguments>access CiviCRM</access_arguments>
|
||||
</item>
|
||||
</menu>
|
|
@ -13,7 +13,8 @@
|
|||
<required>true</required>
|
||||
<comment>Unique ID, corresponds to contact id</comment>
|
||||
<html>
|
||||
<type>Number</type>
|
||||
<type>EntityRef</type>
|
||||
<label>Contact</label>
|
||||
</html>
|
||||
</field>
|
||||
<primaryKey>
|
||||
|
@ -21,7 +22,7 @@
|
|||
<autoincrement>true</autoincrement>
|
||||
</primaryKey>
|
||||
<foreignKey>
|
||||
<name>contact_id</name>
|
||||
<name>id</name>
|
||||
<table>civicrm_contact</table>
|
||||
<key>id</key>
|
||||
<onDelete>CASCADE</onDelete>
|
||||
|
@ -33,7 +34,7 @@
|
|||
<required>true</required>
|
||||
<default>0</default>
|
||||
<pseudoconstant>
|
||||
<optionGroupName>ContactCategories</optionGroupName>
|
||||
<optionGroupName>contact_categories</optionGroupName>
|
||||
</pseudoconstant>
|
||||
<html>
|
||||
<type>Select</type>
|
||||
|
@ -46,7 +47,7 @@
|
|||
<required>true</required>
|
||||
<default>0</default>
|
||||
<pseudoconstant>
|
||||
<optionGroupName>ContactCategories</optionGroupName>
|
||||
<optionGroupName>contact_categories</optionGroupName>
|
||||
</pseudoconstant>
|
||||
</field>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue