Developing Magnolia based sites correctly, quickly and efficiently

26
Webinar • Wednesday, Dec 9, 2015 • Kromeriz, CZ Developing Magnolia based sites correctly, quickly and efficiently Jan Haderka 1 Tomáš Gregovský

Transcript of Developing Magnolia based sites correctly, quickly and efficiently

Webinar • Wednesday, Dec 9, 2015 • Kromeriz, CZ

Developing Magnolia based sites correctly, quickly and efficiently

Jan Haderka

1

Tomáš Gregovský

Install task Admincentral theme Activation/deactivation CKEditor Custom select field Custom fn Rest API

Some helpful install/update tasksIsModuleInstalledOrRegistered IsAuthorInstanceDelegateTask

IsModuleInstalledOrRegistered

IsAuthorInstanceDelegateTask

Admincentral theme

In case of small ui changes, like number of icons in row in app launcher etc…

Where is .css file?

Activation/deactivation

Config and Security between author and public differs

11

Some things you should know about Activation

‣Do not activate Anonymous role

‣In config activate only what you know and only minimal set of nodes

In older versions of Magnolia

12

Some things you should know about Activation

‣NEVER activate 1st and 2nd level nodes w/o activating subnodes as well

with Magnolia CE … or w/o workflow

13

Some things you should know about Activation

‣Remember when you deactivate page, it’s gone immediately from the public

and cache flushing …

14

Some things you should know about Activation

‣before 5.4 - register workspace for flush

‣since 5.4 - register workspace to NOT flush

and workspaces …

15

Some things you should know about Activation

‣register workspace mapping for each workspace

CKEditorhttp://ckeditor.com/

Select fields

21

DEMO

Custom fn

23

DEMO

Rest API

25

DEMO