heimrichhannot/contao-frontendedit

A generic module using formhybrid for listing, editing, and deleting entities.


Keywords
module, developer, frontend, edit, contao, frontendedit
License
LGPL-3.0+

Documentation

FrontendEdit

Extends heimrichhannot/contao-formhybrid_list with crud functionality (create, update, delete).

-> Click here for a diagram visualizing the interaction between the modules formhybrid, formhybrid_list, frontendedit and submissions.

Features

  • adds a memberAuthor field to news and calendar events
  • share entities in a list (add the necessary fields to your dca beforehands by using FormHybridList::addShareFields())

List module

  • display e.g. all entities of a certain member
  • contains links for editing, deleting and publishing the certain item

Reader module

  • edit an arbitrary entity

Modules

Name Description
ModuleList Extends formhybrid_list's ModuleList with crud funnctionality
ModuleMemberList Encapsulates member specific changes overriding ModuleList
ModuleNewsList Encapsulates news specific changes overriding ModuleList
ModuleReader A generic editor module able to edit a specific entity (doesn't inherit from formhybrid_list's ModuleReader)
ModuleFrontendUserReader Encapsulates frontend user specific changes overriding ModuleReader
ModuleFormValidator Validates a certain amount of entity's fields (useful e.g. as the last step of a multi step form)

Hooks

frontendEditAddNoIdBehavior