cms

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const ACTION_BLOCKEDITOR_HANDLE = "blockeditor_handle"
View Source
const VIEW_CONTENT = "content"
View Source
const VIEW_SEO = "seo"
View Source
const VIEW_SETTINGS = "settings"

Variables

This section is empty.

Functions

func NewPageUpdateController added in v1.6.0

func NewPageUpdateController(m UiManager) *pageUpdateController

Types

type Config

type Config struct {
	BlockEditorDefinitions []blockeditor.BlockDefinition
	Endpoint               string
	EntityStore            entitystore.StoreInterface
	PageEntityType         string
	PathPagesPageManager   string
	PathPagesPageUpdate    string
	WebpageComplete        func(string, string) *hb.HtmlWebpage
	FuncLayout             func(string) string
	CmsHeader              func(string) string
	CmsBreadcrumbs         func([]bs.Breadcrumb) string
	WebPageFindByID        func(string) (types.WebPageInterface, error)
	WebPageUpdate          func(types.WebPageInterface) error
}

type UiManager

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

func NewUiManager

func NewUiManager(config Config) UiManager

func (UiManager) PageCreateAjax

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

func (UiManager) PageManager

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

func (UiManager) PageTrashAjax

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

func (UiManager) PageUpdate

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

func (UiManager) PageUpdateAjax

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

func (UiManager) PageUpdateV1 added in v1.6.0

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

Jump to

Keyboard shortcuts

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