Documentation ¶
Overview ¶
TODO: This editor needs to be rewritten with new model ffor contentypes.
Index ¶
- func AddChild(w *wrapper.Wrapper)
- func AddExistingChild(w *wrapper.Wrapper)
- func AddExistingChildForm(w *wrapper.Wrapper)
- func AddExistingPathSubmit(w *wrapper.Wrapper)
- func AddExistingWrapperSubmit(w *wrapper.Wrapper)
- func AddPathChild(w *wrapper.Wrapper)
- func AddSlugChild(w *wrapper.Wrapper)
- func AddWrapperChild(w *wrapper.Wrapper)
- func AdminPaths(w *wrapper.Wrapper)
- func AllElements(w *wrapper.Wrapper)
- func ContentEditor(w *wrapper.Wrapper)
- func ContentEditorForm(w *wrapper.Wrapper)
- func ContentEditorSubmit(w *wrapper.Wrapper)
- func ContentTypeEditor(w *wrapper.Wrapper)
- func ContentTypeEditorForm(w *wrapper.Wrapper)
- func ContentTypeEditorSubmit(w *wrapper.Wrapper)
- func Delete(w *wrapper.Wrapper)
- func DeleteElement(w *wrapper.Wrapper)
- func DeletePath(w *wrapper.Wrapper)
- func EditContentType(w *wrapper.Wrapper)
- func EditContentTypeForm(w *wrapper.Wrapper)
- func EditContentTypeSubmit(w *wrapper.Wrapper)
- func Element(w *wrapper.Wrapper)
- func ElementEditor(w *wrapper.Wrapper)
- func FieldFormGroup() []*form.Field
- func GetAllContentTypes(w *wrapper.Wrapper)
- func GetContentType(w *wrapper.Wrapper)
- func GetControllerMap(cm controller.ControllerMap)
- func MenuEditor(w *wrapper.Wrapper)
- func NewAdmin() (*AdminMap, *AdminMenu)
- func OrphanElements(w *wrapper.Wrapper)
- func PathEditor(w *wrapper.Wrapper)
- func PathEditorForm(w *wrapper.Wrapper)
- func PathEditorSubmit(w *wrapper.Wrapper)
- func PathElements(w *wrapper.Wrapper)
- func SlugUrlEditor(w *wrapper.Wrapper)
- func SlugUrlEditorForm(w *wrapper.Wrapper)
- func SlugUrlEditorSubmit(w *wrapper.Wrapper)
- func Sort(w *wrapper.Wrapper)
- func SortPathForm(w *wrapper.Wrapper)
- func SortPathSubmit(w *wrapper.Wrapper)
- func SortWrapperForm(w *wrapper.Wrapper)
- func SortWrapperSubmit(w *wrapper.Wrapper)
- type AdminMap
- type AdminMenu
- type ContentType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddExistingChild ¶
Controller for adding existing element to wrapper element or path.
func AddExistingChildForm ¶
Controller for adding existing element form.
func AddExistingPathSubmit ¶
Controller for adding existing element to path form submission.
func AddExistingWrapperSubmit ¶
Controller for adding existing element to wrapper element form submission.
func AddSlugChild ¶
func AddWrapperChild ¶
Controller for adding children to wrapper element.
func ContentEditorForm ¶
Controller for content editing form.
func ContentEditorSubmit ¶
Controller to handle content editor submission.
func ContentTypeEditor ¶
Controller to change content type for content type element.
func ContentTypeEditorForm ¶
Controller to ddisplay form to change content type for conteent element
func ContentTypeEditorSubmit ¶
Controller to handle submission for content type change form.
func DeleteElement ¶
Controller to delete an element and all references to the element
func EditContentType ¶
func EditContentTypeForm ¶
func EditContentTypeSubmit ¶
func ElementEditor ¶
Controller to edit an elements properties TODO: break this into smaller functions to make it easier to maintain
func FieldFormGroup ¶
func GetAllContentTypes ¶
func GetContentType ¶
func GetControllerMap ¶
func GetControllerMap(cm controller.ControllerMap)
Package function to return controller map
func MenuEditor ¶
Controller to edit a menu element TODO: break this into smaller functions
func OrphanElements ¶
Controller to retrive a list of all orphaned elements.
func PathEditorForm ¶
Controller to present path editor form
func PathEditorSubmit ¶
Controller to handle path editor form submissions.
func PathElements ¶
Retrieve a list of elements in a path for content editor.
func SlugUrlEditor ¶
func SlugUrlEditorForm ¶
func SlugUrlEditorSubmit ¶
func SortWrapperForm ¶
Controller for wrapper element sort form.
func SortWrapperSubmit ¶
Controller for wrapper sort submission.