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

Developing Magnolia based sites correctly, quickly and efficiently

Jan 22, 2017

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 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ý

Page 2: Developing Magnolia based sites correctly, quickly and efficiently

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

Page 3: Developing Magnolia based sites correctly, quickly and efficiently

Some helpful install/update tasksIsModuleInstalledOrRegistered IsAuthorInstanceDelegateTask

Page 4: Developing Magnolia based sites correctly, quickly and efficiently

IsModuleInstalledOrRegistered

Page 5: Developing Magnolia based sites correctly, quickly and efficiently

IsAuthorInstanceDelegateTask

Page 6: Developing Magnolia based sites correctly, quickly and efficiently

Admincentral theme

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

Page 7: Developing Magnolia based sites correctly, quickly and efficiently

Where is .css file?

Page 8: Developing Magnolia based sites correctly, quickly and efficiently
Page 9: Developing Magnolia based sites correctly, quickly and efficiently
Page 10: Developing Magnolia based sites correctly, quickly and efficiently

Activation/deactivation

Page 11: Developing Magnolia based sites correctly, quickly and efficiently

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

Page 12: Developing Magnolia based sites correctly, quickly and efficiently

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

Page 13: Developing Magnolia based sites correctly, quickly and efficiently

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

Page 14: Developing Magnolia based sites correctly, quickly and efficiently

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

Page 15: Developing Magnolia based sites correctly, quickly and efficiently

and workspaces …

15

Some things you should know about Activation

‣register workspace mapping for each workspace

Page 16: Developing Magnolia based sites correctly, quickly and efficiently

CKEditorhttp://ckeditor.com/

Page 17: Developing Magnolia based sites correctly, quickly and efficiently
Page 18: Developing Magnolia based sites correctly, quickly and efficiently
Page 19: Developing Magnolia based sites correctly, quickly and efficiently
Page 20: Developing Magnolia based sites correctly, quickly and efficiently

Select fields

Page 21: Developing Magnolia based sites correctly, quickly and efficiently

21

DEMO

Page 22: Developing Magnolia based sites correctly, quickly and efficiently

Custom fn

Page 23: Developing Magnolia based sites correctly, quickly and efficiently

23

DEMO

Page 24: Developing Magnolia based sites correctly, quickly and efficiently

Rest API

Page 25: Developing Magnolia based sites correctly, quickly and efficiently

25

DEMO

Page 26: Developing Magnolia based sites correctly, quickly and efficiently