Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

How to please the editor

274 Aufrufe

Veröffentlicht am

Patrick Broens shows examples of TYPO3 backend configurations to make a usable backend for simple editors. This talk was held on TYPO3camp Venlo 2017

Veröffentlicht in: Internet
  • Login to see the comments

  • Gehören Sie zu den Ersten, denen das gefällt!

How to please the editor

  1. 1. 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
  2. 2. M I S C O M M U N I C AT I O N E D I T O R ! = = D E V E L O P E R
  3. 3. U S A B I L I T Y D E V E L O P E R ! = = U S A B I L I T Y E X P E R T
  4. 4. 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
  5. 5. 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
  6. 6. T Y P O 3 I S T O B L A M E
  7. 7. 1 : E D U C AT I O N B U T H O W C A N W E H E L P T H E M ?
  8. 8. 2 : C O M F O R T T Y P O 3 I S N O T D I F F I C U LT
  9. 9. 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
  10. 10. Charles Mingus Making the simple complicated is commonplace Making the complicated simple, awesomely simple, that’s creativity
  11. 11. – 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”
  12. 12. Custom page types Automated backend layout Clear message
  13. 13. 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]
  14. 14. H O O K S L I M I T P O S S I B I L I T I E S
  15. 15. Limit allowed content types in columns
  16. 16. // Column: 1: Sidebar
 
 // Access: Editor-in-Chief (role_eindredacteur)
 [usergroup = 77] && [TueWwwTueNlTypoScriptConditionsHasBackendLayoutCondition Default] && [TueWwwTueNlTypoScriptConditionsHasColPosCondition 1] && [TueWwwTueNlTypoScriptConditionsHasDoktypeCondition 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]
  17. 17. R E C O R D S ? D I F F E R E N T M I N D S E T
  18. 18. H I D E A N D S E E K F I E L D M A N I A
  19. 19. 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
  20. 20. 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
  21. 21. '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
  22. 22. – E D S G E R D I J K S T R A “Simplicity is a prerequisite for reliability.”
  23. 23. twitter.com/aurora_borealis facebook.com/padraigbroens linkedin.com/in/typo3development patrick.broens keybase.io/auroraborealis

×