What plugins are available?

Asked by Chris Beer

Question information

Language:
English Edit question
Status:
Answered
For:
bVault Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chris Beer (chris-beer) said :
#1

The package contains two example plugins, in ./application/plugin

- a ContextObject in Span (COinS) plugin to make the record page (more) parsable by Zotero
- a "FirstMedia" plugin that redirects a request for a CONCEPT object to a more appropriate entry point

In general, bVault offers a number of "hooks" to let plugins modify the interface
  - config: Called after the configuration is complete and plugins are loaded, but before the bootstrap process.
  - bootstrap and access: Called after all configuration and routing is complete
  - display: Receives the view object before the RecordController begins to render
  - search: Receives the view object before the SearchController begins to render
  - home: Receives the view object before the IndexController begins to render
  - user: Receives the view object before the UserController begins to render

These hooks can then modify a number of placeholders:
  - nav, nav_use, nav_contribute, nav_actions
  - content_prefix, content_header, content_footer, content_postfix
  - metadata_header, metadata_source, metadata_description, metadata_media, metadata_people, metadata_date, metadata_place, metadata_footer

More hooks and placeholders are being added and are documented in the API docs in ./docs

Revision history for this message
Chris Beer (chris-beer) said :
#2

Can you help with this problem?

Provide an answer of your own, or ask Chris Beer for more information if necessary.

To post a message you must log in.