brotkrueml / schema

TYPO3 extension providing an API and view helpers for schema.org markup

Home Page:https://extensions.typo3.org/extension/schema

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add MultipleTypeViewHelper

brotkrueml opened this issue · comments

With #64 the possibility to add a node with a multiple type was introduced. It should be also possible to add a multiple type node in a Fluid template.

  • A MultipleTypeViewHelper is available, the types can be defined via a types argument.
  • Properties can be set with the property view helper or via a properties argument (which holds an array of name/value property pairs).
  • The view helpers behaves mostly like other type view helpers: it can be set as property of another type, an id can be assigned and it can be set as main entity of the page.
  • The usage is described in the documentation.