Skip to content

hooks #18

@larsemil

Description

@larsemil

For a plugin to be able to add information to for example the footer or the header i think we need to implement hooks in the ddEventz class.

this would be working like this.

  1. load all plugins and check their hooks.
  2. generate the feed(run the plugin)
  3. the plugin then hooks into one of the different hooks.
  4. the data is presented in order(header, main, footer) etc.

Some early hooks would probably only be:

  1. headercontent
  2. footercontent

but when building the infrastructure for this i am sure we can find other hooks. ESPECIALLY when later writing the admin frontend for the events and plugins.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions