Commit Graph

598 Commits

Author SHA1 Message Date
naomi
fd3ee02099 Added Hat contact details field filtered by entity reference view. 2018-04-12 12:52:01 +02:00
naomi
2cf897c92b Changed path for adding hat to /zencrm/hat/{person_id}/....
Because the person id needs to be in third place in the URL, so that it filters the entity reference view for the contact details. But the second place cannot be "person" as then it would try to render the person blocks on th page.
2018-04-12 12:06:51 +02:00
naomi
607941c725 More fiddling with the hats and contact details view blocks. 2018-04-11 20:00:39 +02:00
naomi
6e85b82b2d moved hat creator to sidebar 2018-04-11 19:38:24 +02:00
naomi
25981b45f6 When person has no hats, hat creator show in content pane. 2018-04-11 19:33:52 +02:00
naomi
a6449a9cdc Hides contact details block when empty 2018-04-11 19:23:50 +02:00
naomi
9575233ee1 Moved more config into optional 2018-04-11 14:49:12 +02:00
naomi
8166372c02 Fixed some paths 2018-04-11 14:35:08 +02:00
naomi
689d208463 Added route and controller for adding new contact details to a person 2018-04-11 14:24:29 +02:00
naomi
32803ff8a8 Added config for "this person's hats" view and its block placement
Also moved other configurations into the optional dir
2018-04-11 13:40:08 +02:00
naomi
0068566b22 more fixing paths to follow /zencrm policy
it counts for things that they open in popups, too.
2018-04-11 13:19:03 +02:00
naomi
3226ce01d3 added destination to hat creator popup
so it returns to person page after creation.
2018-04-11 13:11:54 +02:00
naomi
6067afed23 Added sidebar search widget to config. 2018-04-11 12:52:51 +02:00
naomi
0ec801a42c Changed path for adding hat type to /zencrm
The policy is that all paths (added by the module) that the hosted user will access should start with that.
2018-04-11 12:46:17 +02:00
naomi
2725a5b27e Added HatCreator block placement to config. 2018-04-11 12:44:28 +02:00
naomi
cf0d928423 Changing routes back after they got changed when regenerating entities 2018-04-11 12:39:39 +02:00
naomi
a48e37ad39 Changed name of Profile entity to Hat
so as not to conflict with Profile or Profile2 module on existing sites
2018-04-11 12:18:27 +02:00
naomi
1e1bfe0ca9 removed profile files ready for regenerating as unrevisionable 2018-04-11 11:51:14 +02:00
naomi
10b84fb208 Added base fields back into ContactDetails class 2018-04-11 11:44:47 +02:00
naomi
2ae3fcea56 Made contact details not revisionable 2018-04-11 11:42:45 +02:00
naomi
6d63d5f328 Finished making person not revisionable
Am making stuff not revisionable for the initial hosted release and then will think about how to properly implement revisioning later.
Also removed now-unneeded contact details types vocabulary (contact details type is now a text field)
2018-04-11 11:35:09 +02:00
naomi
4d4f279148 Merge branch 'master' into spike 2018-04-11 11:32:09 +02:00
naomi
494ac6cdc1 Tidied up contact details base fields 2018-04-11 11:30:49 +02:00
naomi
add15f2c6d removed all person stuff and rand update entiees 2018-04-11 10:44:29 +02:00
naomi
c47ce313b3 Removed all fields from Person in default view mode 2018-04-10 18:09:25 +02:00
naomi
3d8c7f6ca1 removed visibility of base fields in Profile 2018-04-10 17:56:30 +02:00
naomi
20469e3aa7 Search is now case-insensitive. 2018-04-10 17:26:16 +02:00
naomi
0e0b31cfcd Added custom block for creating profiles against a person.
It renders a link for each available profile type and they open in a popup which has a route and a controller.
2018-04-10 17:20:31 +02:00
naomi
f764ed5670 Added search module with database server, Person index and view 2018-04-10 13:02:51 +02:00
naomi
b629a13ec8 Added address, phone and email to contact details. 2018-04-06 16:14:40 +02:00
naomi
3128d0cabf Profile labels now read "First Name Last Name - Profile Type" 2018-04-06 15:34:03 +02:00
naomi
4a49cfecfb Added contact_details_types vocab and removed previous draft of it 2018-04-06 14:19:48 +02:00
naomi
0ecdf1247c Removed published/enabled checkbox till decide what to do with that.
Also placed author on forms and views
2018-04-06 14:12:29 +02:00
naomi
190a90a4db Set label of Contact Details entity to its type
Also made some trivial changes
2018-04-06 13:58:46 +02:00
naomi
599ee239ff In process with Contact Details type field. 2018-04-06 13:43:25 +02:00
naomi
54f9366fff Added "label" taxonomy term field to Contact Details entity type. 2018-04-06 13:05:05 +02:00
naomi
3424e84588 Generated ContactDetails Entity and added Person field. 2018-04-06 11:14:12 +02:00
naomi
60fefb703e Added base field to Profile entity, which references the Person. 2018-04-06 00:40:34 +02:00
naomi
af3b194aa4 Added "persons" view with entity reference display
This is used for the Person entity reference field on the Profile entity type
2018-04-05 23:31:16 +02:00
naomi
7cd8290047 whitespace 2018-04-05 23:30:05 +02:00
naomi
6cf7d5ee6f Added full_name and first_and_last_name fields to the Person entity type.
The full name is now the entity label. The first_and_last_name is so that it can be used in search and autocomplete.
2018-04-05 23:02:55 +02:00
naomi
7ac39fc385 Gennerated Profile entity 2018-04-05 20:05:00 +02:00
naomi
e933c3ae23 added dependency on zencrm_entities 2018-04-05 15:31:17 +02:00
naomi
39136fe8ed Merge branch 'master' of https://github.com/hoegrammer/zencrm 2018-04-04 13:03:12 +02:00
naomi
4756074cf7 Generated module and Person entity
Changed "published" status of entity to "enabled". Removed author field from display
2018-04-04 12:59:01 +02:00
Naomi
30f66710f0
Update README.md 2018-04-04 13:56:53 +03:00
Naomi
d0f175f69d
Update README.md 2018-04-04 13:54:49 +03:00
Naomi
afd13c229b
Initial commit 2018-04-04 11:01:50 +03:00