cms

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2025 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Endpoint                     string
	EntityStore                  entitystore.StoreInterface
	TemplateEntityType           string
	PathTemplatesTemplateManager string
	PathTemplatesTemplateUpdate  string
	WebpageComplete              func(string, string) *hb.HtmlWebpage
	FuncLayout                   func(string) string
	CmsHeader                    func(string) string
	CmsBreadcrumbs               func([]bs.Breadcrumb) string
}

type UiManager

type UiManager struct {
	// contains filtered or unexported fields
}

func NewUiManager

func NewUiManager(config Config) UiManager

func (UiManager) TemplateCreateAjax

func (m UiManager) TemplateCreateAjax(w http.ResponseWriter, r *http.Request)

func (UiManager) TemplateManager

func (m UiManager) TemplateManager(w http.ResponseWriter, r *http.Request)

func (UiManager) TemplateTrashAjax

func (m UiManager) TemplateTrashAjax(w http.ResponseWriter, r *http.Request)

TemplateTrashAjax - moves the template to the trash

func (UiManager) TemplateUpdate

func (m UiManager) TemplateUpdate(w http.ResponseWriter, r *http.Request)

pageTemplatesTemplateUpdate shows the template edit page

func (UiManager) TemplateUpdateAjax

func (m UiManager) TemplateUpdateAjax(w http.ResponseWriter, r *http.Request)

pageTemplatesTemplateUpdateAjax - saves the template via Ajax

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL