Skip to content

Easy linking directly to entities from inline editing or inspector editors

Notifications You must be signed in to change notification settings

Torsten85/Neos.EntityLink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neos.EntityLink

Easy linking directly to entities from inline editing or inspector editors

Inline editing

Settings.yaml:

ByTorsten:
  Neos:
    EntityLink:
      entities:
        news:
          className: 'Acme\Demo\Domain\Model\News'
          searchProperties: ['title', 'teaser']
          labelProperty: 'title' # Optional, if not provided the first searchProperty is used
          icon: 'icon-rss-sign' # Optional
          plugin:
            name: 'Acme.Demo:News'
            identifier: '81951f86-17b1-e9a6-b2cc-dcfebf9b297e' #Optional, if not provided first page node of plugin type is used
            controllerActions:
              'Acme\Demo\Controller\StandardController': ['show']
        

Entity editor

NodeTypes.yaml:

'Acme.Demo:Teaser':
  ...
  properties:
  	item:
	  type: 'string'
      ui:
        inspector:
          editor: 'ByTorsten.Neos.EntityLink/Inspector/Editors/EntityEditor' # ... or EntitiesEditor
          editorOptions:
            icon: 'icon-gift' #optional
            entityClassName: 'Acme\Demo\Domain\Model\Item'
            searchProperties: ['title', 'description']
            labelProperty: 'title' #optional, falls back to first searchProperty        

About

Easy linking directly to entities from inline editing or inspector editors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published