how to please the editor

27
HOW TO PLEASE THE EDITOR TYPO3CAMP VENLO 2017

Upload: patrick-broens

Post on 10-Apr-2017

51 views

Category:

Internet


2 download

TRANSCRIPT

Page 1: How to please the editor

H O W T O P L E A S E T H E E D I T O R

T Y P O 3 C A M P V E N L O 2 0 1 7

Page 2: How to please the editor
Page 3: How to please the editor

M I S C O M M U N I C AT I O NE D I T O R ! = = D E V E L O P E R

Page 4: How to please the editor

U S A B I L I T YD E V E L O P E R ! = = U S A B I L I T Y E X P E R T

Page 5: How to please the editor

E D I T O R S A R E I D I O T S !D I D I S AY T H AT O U T L O U D ?

Picture © Walter Menegazzi

Page 6: How to please the editor
Page 7: How to please the editor

D O N ’ T M A K E M E T H I N K !

H E L P T H E M

Source: Steve Krug, Don't Make Me Think: A Common Sense Approach to Web Usability

Page 8: How to please the editor

T Y P O 3 I S T O B L A M E

Page 9: How to please the editor

1 : E D U C AT I O NB U T H O W C A N W E H E L P T H E M ?

Page 10: How to please the editor

2 : C O M F O R TT Y P O 3 I S N O T D I F F I C U LT

Page 11: How to please the editor
Page 12: How to please the editor

G I V E T H E M O N LY T H E T O O L S T H E Y N E E D

M O D U L E M E N U

Page 13: How to please the editor

Charles Mingus

Making the simple complicated is commonplace

Making the complicated simple, awesomely simple,

that’s creativity

Page 14: How to please the editor

– O N E O F O U R E D I T O R S

“I don’t see my content added to a ‘folder’ page type”

Page 15: How to please the editor

Custom page types Automated backend layout

Clear message

Page 16: How to please the editor

T S C O N F I G

L I M I T P O S S I B I L I T I E S

// Page: Trip/Offer[page|uid = 5] mod.web_list { allowedNewTables := addToList(pages, tx_exploretrip_trip_offer_exclusive, tx_exploretrip_trip_offer_inclusive) } [global]

Page 17: How to please the editor

H O O K S

L I M I T P O S S I B I L I T I E S

Page 18: How to please the editor

Limit allowed content types in columns

Page 19: How to please the editor

// Column: 1: Sidebar// Access: Editor-in-Chief (role_eindredacteur)[usergroup = 77] && [Tue\WwwTueNl\TypoScript\Conditions\HasBackendLayoutCondition Default] && [Tue\WwwTueNl\TypoScript\Conditions\HasColPosCondition 1] && [Tue\WwwTueNl\TypoScript\Conditions\HasDoktypeCondition 1] mod.wizards.newContentElement.wizardItems { common.show := addToList(textmedia, uploads) special.show := addToList( div, tuece_promotionboxnarrow, tuece_directlyto, tuece_galleryteaser, tuece_testimonials, tuece_contact, tuece_mediateaser ) plugins.show := addToList(powermail_pi1) } TCEFORM { tt_content { colPos { removeItems := addToList(0) removeItems := removeFromList(1) } CType.keepItems := addToList( 17, 2, textmedia, list, uploads, div, tuece_promotionboxnarrow, tuece_directlyto, tuece_galleryteaser, tuece_testimonials, tuece_contact, tuece_ldapcontact, powermail_pi1, tuece_mediateaser ) list_type.keepItems := addToList(powermail_pi1) } } [global]

Page 20: How to please the editor

R E C O R D S ?

D I F F E R E N T M I N D S E T

Page 21: How to please the editor
Page 22: How to please the editor

H I D E A N D S E E KF I E L D M A N I A

Page 23: How to please the editor

TCEFORM { tt_content { // remove defined image alignment imageorient.removeItems = 0,1,8,9,25,26 // Remove possibility to have more than 2 image columns imagecols.removeItems = 3,4,5,6,7,8 // Clear the CType dropdown. Will be filled with permissions from folder Permissions CType.removeItems > // Remove all entries except Default and Hidden for header layout header_layout.removeItems = 1,2,3,4,5 // Remove fields for everybody accessibility_bypass.disabled = 1 accessibility_bypass_text.disabled = 1 accessibility_title.disabled = 1 date.disabled = 1 endtime.disabled = 1 fe_group.disabled = 1 header_layout.disabled = 1 header_position.disabled = 1 image_compression.disabled = 1 image_effects.disabled = 1 image_noRows.disabled = 1 imageborder.disabled = 1 imagecaption_position.disabled = 1 imagecols.disabled = 0 layout.disabled = 1 linkToTop.disabled = 1 longdescURL.disabled = 1 section_frame.disabled = 1 sectionIndex.disabled = 1 spaceBefore.disabled = 1 spaceAfter.disabled = 1 starttime.disabled = 1 subheader.disabled = 1 rte_enabled.disabled = 1

T C E F O R M

L I M I T P O S S I B I L I T I E S

Page 24: How to please the editor

B A C K E N D U S E R G R O U P S

L I M I T P O S S I B I L I T I E S

Page 25: How to please the editor

'columns' => [ 'hidden' => [ 'exclude' => true, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', 'config' => [ 'type' => 'check' ] ], 'extension_key' => [ 'exclude' => true, 'label' => 'LLL:EXT:tue_pure/Resources/Private/Language/TCA/Wsdl.xlf:field.extensionKey', 'config' => [ 'type' => 'input', 'size' => '30', 'eval' => 'required, trim, unique' ] ],

'exclude'

=> true

Page 26: How to please the editor

– E D S G E R D I J K S T R A

“Simplicity is a prerequisite for reliability.”

Page 27: How to please the editor

twitter.com/aurora_borealis

facebook.com/padraigbroens

linkedin.com/in/typo3development

patrick.broens

keybase.io/auroraborealis