-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persons to Biblio Authors Issue #62
Comments
One way I am able to get the the autocomplete to show author names is to use an Entity Reference view instead of Simple under the "Entity Selection Mode" . I still can't figure out a way to get it to link Associated Biblio Author to the pubs list. I can add a new token field and put It would be better to get the author cid but so far I have not figured out how. |
Thanks for the tip on "show author names", very useful. Problem with views and biblio may trace back to the architecture of Biblio. A wonderful module, feature rich, and functional, but it does not use the Drupal Core field as of D7. It is actually inspired on the Drupal 5 architecture, and while it performs well, it does not integrate/leverage well many of the added features of Drupal (migrate, the entity framework, the field framework, views, etc). As a famous Drupal guru put it "Biblio does its own thing", being a bit monolithic. Palantir offered to push the effort to revamp Biblio to use fields (an effort is underway), but we deemed to 'expensive' for our modest funds, and ambitious project with large backlog. So we chose to do other stuff. I will post progress on workarounds -- the main goal here is of course to peg the publication list to the authors (specifically, DEIMS persons) as automatically as possible. Thanks Jim! |
Yes it is difficult to see what biblo is doing. Below is the Entity Reference view export that I used. You can see it being use on http://arc-lter.ecosystems.mbl.edu/edward-rastetter The Publications is the token field. Although I am thinking that a block to list just the most recent pubs would be better. I am still trying to wrap my head around views though. Jim $view = new view(); /* Display: Master / /* Display: Entity Reference */ ----- Original Message ----- From: "Inigo San Gil" [email protected] Thanks for the tip on "show author names", very useful. |
Nice! Thanks Jim! |
Turns out it is not so easy to connect the publications of a Person through the author.
The logic we followed is, if we connect the biblio "authors" (cids) with the Persons (nids), all the desired functionality would follow, specially, rendering a list of pubs associated with a Person.
Not so.
I ran into issues at the 'rendering pubs' step.
At the Person form, we connect "OK" the authors, although, the "Node Autocomplete" widget does not show the labels of the authors cids, instead, shows a --restricted access--. It still allows you to pick one of the 'restricted access' author cids, and it is ok-ish, when you narrow it down to your cid (an exact match). Likewise, all attempts to render the author cid label in the person form or a view end in the - Restricted access - It all points to a permission problem, which may be a consequence of biblio not following the field API, entity API -- it is a port from the early Drupals. (but this is another story).
Anyway, we need to get to the desired functionality. There's got to be a way -- it all works with users and author cids, but likely the biblio maintainers coded this in an ad-hoc way. Any takers most welcome!
The text was updated successfully, but these errors were encountered: