Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unlcms/unl_person
Creates a unl_people remote entity, which gets its data from directory.unl.edu
https://github.com/unlcms/unl_person
Last synced: 5 days ago
JSON representation
Creates a unl_people remote entity, which gets its data from directory.unl.edu
- Host: GitHub
- URL: https://github.com/unlcms/unl_person
- Owner: unlcms
- Created: 2013-11-21T21:06:22.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2021-10-19T21:27:24.000Z (about 3 years ago)
- Last Synced: 2024-11-07T18:35:02.093Z (about 2 months ago)
- Language: PHP
- Size: 30.3 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
unl_person
==========Creates a unl_people remote entity, which gets its data from directory.unl.edu and itegrates with entityreference autocomplete.
Features
--------
* Add a unl_person entity
* Retrieves unl_person entity data from directory.unl.edu via APIs
* Integrates with entityreference for autocomplete support.Using Entity Reference
----------------------
When setting up an entityreference field that uses unl_person, there are a few things to keep in mind.1. Target Type = `UNL Person`
2. Entity Selection mode = `UNL Person`
3. Additional Behavior = check `UNL Person behavior`The `UNL Person` Entity Selection Mode tells entityselection to use our custom selection class instead of the normal sql selection mode. This will query the directory via an API.
The `UNL Person behavior` will edit the schema of the field to allow the target_id to be varchar.
View Modes
----------
Currently `unl_person` only supports the teaser view mode.