├── Tests
└── .gitkeep
├── Resources
├── Public
│ ├── Css
│ │ └── Custom.css
│ ├── JavaScript
│ │ ├── Custom.js
│ │ ├── flash-message-demo.js
│ │ ├── context-menu-actions.js
│ │ ├── github_link_handler.js
│ │ └── flash-ajax-demo.js
│ ├── Icons
│ │ └── Extension.png
│ └── Images
│ │ ├── Distribution.png
│ │ ├── JapaneseGarden.jpg
│ │ ├── DistributionWelcome.png
│ │ └── Flask.svg
└── Private
│ ├── Partials
│ ├── .gitkeep
│ └── Module
│ │ ├── EditPage1Link.html
│ │ ├── CreateHaikuLink.html
│ │ ├── EditPage2Link.html
│ │ └── CreateHaikuBlankLink.html
│ ├── Layouts
│ └── Default.html
│ ├── Templates
│ ├── ContentElements
│ │ ├── DataProcSiteLanguage.html
│ │ ├── DataProcSite.html
│ │ ├── BasicContent.html
│ │ ├── DataProcSplit.html
│ │ ├── DataProcCustom.html
│ │ ├── DataProcCsv.html
│ │ ├── DataProcFiles.html
│ │ ├── DataProcDb.html
│ │ ├── DataProcGallery.html
│ │ ├── DataProcLangMenu.html
│ │ └── DataProcMenu.html
│ ├── NewContentElement.html
│ ├── FalExample
│ │ ├── ListFiles.html
│ │ ├── Collection.html
│ │ └── Index.html
│ ├── AdminModule
│ │ ├── Index.html
│ │ └── Debug.html
│ ├── Haiku
│ │ ├── List.html
│ │ └── Detail.html
│ ├── Page
│ │ └── Main.html
│ ├── Collection
│ │ └── Index.html
│ ├── HtmlParser
│ │ └── Index.html
│ └── Module
│ │ ├── Log.html
│ │ ├── Debug.html
│ │ ├── Tree.html
│ │ ├── Links.html
│ │ ├── Password.html
│ │ ├── Flash.html
│ │ └── Clipboard.html
│ ├── Language
│ ├── custom.xlf
│ ├── de.custom.xlf
│ ├── Module
│ │ ├── content_examples_links.xlf
│ │ ├── content_examples_clipboard.xlf
│ │ ├── content_examples_tree.xlf
│ │ ├── content_examples_flash.xlf
│ │ ├── content_examples.xlf
│ │ └── locallang.xlf
│ ├── AdminModule
│ │ └── locallang_mod.xlf
│ ├── locallang_browse_links.xlf
│ └── PluginHaiku
│ │ ├── locallang.xlf
│ │ ├── locallang_db.xlf
│ │ └── de.locallang.xlf
│ └── Overrides
│ └── Backend
│ └── Templates
│ └── Default
│ └── LinkBrowser
│ └── GitHub.html
├── Configuration
├── Sets
│ ├── Examples
│ │ ├── config.yaml
│ │ ├── constants.typoscript
│ │ ├── page.tsconfig
│ │ └── setup.typoscript
│ └── ExamplesHMenu
│ │ ├── config.yaml
│ │ └── setup.typoscript
├── TypoScript
│ ├── Syntax
│ │ ├── Escaping
│ │ │ └── setup.typoscript
│ │ ├── General
│ │ │ └── setup.typoscript
│ │ ├── ValueModification2
│ │ │ └── setup.typoscript
│ │ ├── ObjectUnsetting
│ │ │ └── setup.typoscript
│ │ ├── CodeBlock
│ │ │ └── setup.typoscript
│ │ ├── MultiLine
│ │ │ └── setup.typoscript
│ │ ├── ObjectCopying3
│ │ │ └── setup.typoscript
│ │ ├── ObjectCopying
│ │ │ └── setup.typoscript
│ │ ├── ObjectCopying2
│ │ │ └── setup.typoscript
│ │ ├── ValueModification
│ │ │ └── setup.typoscript
│ │ ├── CommentsSingleLine
│ │ │ └── setup.typoscript
│ │ ├── Conditions
│ │ │ └── setup.typoscript
│ │ ├── Introduction
│ │ │ └── setup.typoscript
│ │ ├── CodeBlock2
│ │ │ └── setup.typoscript
│ │ ├── ObjectCopying4
│ │ │ └── setup.typoscript
│ │ ├── ObjectReference
│ │ │ └── setup.typoscript
│ │ └── CommentsBlock
│ │ │ └── setup.typoscript
│ ├── Conditions
│ │ ├── Not
│ │ │ └── setup.typoscript
│ │ ├── Variables
│ │ │ └── setup.typoscript
│ │ ├── OrConditions
│ │ │ └── setup.typoscript
│ │ ├── AndConditions
│ │ │ └── setup.typoscript
│ │ ├── Arrays
│ │ │ └── setup.typoscript
│ │ ├── Equality
│ │ │ └── setup.typoscript
│ │ ├── Strings
│ │ │ └── setup.typoscript
│ │ ├── Valid
│ │ │ └── setup.typoscript
│ │ ├── Wildcards
│ │ │ └── setup.typoscript
│ │ ├── ArrayOperators
│ │ │ └── setup.typoscript
│ │ ├── RegularExpressions
│ │ │ └── setup.typoscript
│ │ ├── Functions
│ │ │ └── setup.typoscript
│ │ ├── InvalidGlobal
│ │ │ └── setup.typoscript
│ │ ├── Else
│ │ │ └── setup.typoscript
│ │ ├── Invalid
│ │ │ └── setup.typoscript
│ │ ├── Syntax
│ │ │ └── setup.typoscript
│ │ └── Simple
│ │ │ └── setup.typoscript
│ ├── CustomContentElements
│ │ ├── Step1.typoscript
│ │ ├── Basic.typoscript
│ │ └── Step2.typoscript
│ ├── TSref
│ │ └── NoPrint.typoscript
│ ├── DataProcessors
│ │ ├── General.typoscript
│ │ └── Processors
│ │ │ ├── SiteProcessor.typoscript
│ │ │ ├── SiteLanguageProcessor.typoscript
│ │ │ ├── LanguageMenuProcessor.typoscript
│ │ │ ├── CustomCategoryProcessor.typoscript
│ │ │ ├── FilesProcessor.typoscript
│ │ │ ├── SplitProcessor.typoscript
│ │ │ ├── CommaSeparatedValueProcessor.typoscript
│ │ │ ├── MenuProcessor.typoscript
│ │ │ ├── DatabaseQueryProcessor.typoscript
│ │ │ └── GalleryProcessor.typoscript
│ ├── RecordLinks
│ │ └── Haiku.typoscript
│ ├── PluginHaiku
│ │ ├── constants.typoscript
│ │ └── setup.typoscript
│ └── Setup
│ │ └── Page.typoscript
├── user.tsconfig
├── TsConfig
│ └── Page
│ │ ├── Mod
│ │ ├── noExportRecordsLinks.tsconfig
│ │ └── csvExport.tsconfig
│ │ ├── Extension
│ │ └── Linkvalidator.tsconfig
│ │ ├── ContentElementWizard.tsconfig
│ │ ├── BackendTemplateOverrides.tsconfig
│ │ └── LinkBrowser
│ │ ├── HaikuRecordLinkBrowser.tsconfig
│ │ └── GitHubLinkhandler.tsconfig
├── Backend
│ └── AjaxRoutes.php
├── JavaScriptModules.php
├── TCA
│ └── Overrides
│ │ ├── tt_content_plugin_falexamples.php
│ │ ├── tt_content_plugin_pierror.php
│ │ ├── tt_content_plugin_htmlparser.php
│ │ ├── tt_content_plugin_haiku_detail.php
│ │ ├── tt_content_plugin_pi1.php
│ │ ├── tt_content_plugin_pi2.php
│ │ ├── tt_content_plugin_pi4.php
│ │ ├── tt_content_basic_content.php
│ │ ├── sys_reaction.php
│ │ ├── tt_content_plugin_pi3.php
│ │ ├── be_users.php
│ │ ├── tt_content_plugin_haiku_list.php
│ │ └── pages.php
├── RequestMiddlewares.php
├── Extbase
│ └── Persistence
│ │ └── Classes.php
├── Services.yaml
├── Flexforms
│ ├── PluginHaikuList.xml
│ ├── PluginHaikuDetail.xml
│ ├── HtmlParser.xml
│ ├── flexform_ds1.xml
│ ├── flexform_ds2.xml
│ ├── flexform_ds3.xml
│ └── flexform_ds4.xml
└── Icons.php
├── CONTRIBUTING.md
├── Documentation
├── Images
│ └── FlashMessages.png
├── Localization.de_DE
│ ├── Images
│ │ └── FlashMessages.png
│ ├── Maintainers
│ │ ├── FlashMessagesDemo
│ │ │ └── Index.rst
│ │ ├── ErrorHandlingDemo
│ │ │ └── Index.rst
│ │ ├── Index.rst
│ │ └── CodeQuality
│ │ │ └── Index.rst
│ ├── Users
│ │ └── Index.rst
│ ├── Includes.rst.txt
│ ├── Index.rst
│ └── guides.xml
├── Localization.es_ES
│ ├── Images
│ │ └── FlashMessages.png
│ ├── Maintainers
│ │ ├── FlashMessagesDemo
│ │ │ └── Index.rst
│ │ ├── ErrorHandlingDemo
│ │ │ └── Index.rst
│ │ ├── Index.rst
│ │ └── CodeQuality
│ │ │ └── Index.rst
│ ├── Users
│ │ └── Index.rst
│ ├── Includes.rst.txt
│ ├── Index.rst
│ └── guides.xml
├── Localization.fr_FR
│ ├── Images
│ │ └── FlashMessages.png
│ ├── Maintainers
│ │ ├── FlashMessagesDemo
│ │ │ └── Index.rst
│ │ ├── ErrorHandlingDemo
│ │ │ └── Index.rst
│ │ ├── CodeQuality
│ │ │ └── Index.rst
│ │ └── Index.rst
│ ├── Users
│ │ └── Index.rst
│ ├── Includes.rst.txt
│ ├── Index.rst
│ └── guides.xml
├── Maintainers
│ ├── FlashMessagesDemo
│ │ └── Index.rst
│ ├── ErrorHandlingDemo
│ │ └── Index.rst
│ ├── Index.rst
│ └── CodeQuality
│ │ └── Index.rst
├── .gitignore
├── Users
│ └── Index.rst
├── Includes.rst.txt
├── Index.rst
└── guides.xml
├── ATTRIBUTION.txt
├── ext_conf_template.txt
├── Initialisation
├── data.xml.files
│ ├── 0a55d068749bf201b8486d4e4cc6691df6f9077e
│ ├── 10cc025d8583bfd3272bf8ee4b309edb79bad55f
│ ├── 2525cdd6f325f3fe72e671eacaccf6a56a496bc3
│ ├── 277f2e275ef9822dd9cbf22687a93a47ecc5c329
│ ├── 3e31a4a35c74f3a04c6c28b1feb2ccd735bbc5a7
│ ├── 5021ab409489abc0b5d99f827404490af0939dc9
│ ├── 63c2ea1d850867bfd506f16dfdfb0fbfa3ac8db5
│ ├── b8a8591926c3640aa1dba9c9a4b0b16691ec71ea
│ ├── bc273ceea6373ab772e8a9284309e67c8da33250
│ └── cbae265b37870746011945d9b18988dc04018824
└── Site
│ └── introduction
│ └── config.yaml
├── ext_tables.sql
├── Classes
├── Exception
│ ├── NoSuchHaikuException.php
│ └── InvalidWizardException.php
├── Domain
│ ├── Model
│ │ └── Category.php
│ └── Repository
│ │ ├── CategoryRepository.php
│ │ └── HaikuRepository.php
├── Command
│ ├── DoSomethingCommand.php
│ ├── MeowInformationCommand.php
│ └── CreateWizardCommand.php
├── Controller
│ ├── ErrorController.php
│ ├── FalExampleController.php
│ ├── Haiku
│ │ └── ListController.php
│ └── HtmlParserController.php
├── Service
│ ├── TableInformationService.php
│ └── FlexFormSettingsService.php
├── Backend
│ └── Avatar
│ │ └── ExampleAvatarProvider.php
├── Upgrades
│ ├── HaikuPluginListTypeToCTypeUpdate.php
│ └── ExtbasePluginListTypeToCTypeUpdate.php
├── LinkHandler
│ ├── GitHubLinkHandling.php
│ └── GithubLinkBuilder.php
├── LinkValidator
│ └── LinkType
│ │ └── ExampleLinkType.php
├── Userfuncs
│ ├── Tca.php
│ └── CustomMenu.php
├── Http
│ └── MeowInformationRequester.php
├── DataProcessing
│ └── CustomCategoryProcessor.php
├── Reaction
│ └── ExampleReactionType.php
└── Middleware
│ └── HaikuSeasonList.php
├── README.rst
├── ext_emconf.php
├── Makefile
└── ext_tables.php
/Tests/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Resources/Public/Css/Custom.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Resources/Private/Partials/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Resources/Public/JavaScript/Custom.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Configuration/Sets/Examples/config.yaml:
--------------------------------------------------------------------------------
1 | name: t3docs/examples
2 | label: Example set
3 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/Escaping/setup.typoscript:
--------------------------------------------------------------------------------
1 | my\.escaped\.key = test
2 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/General/setup.typoscript:
--------------------------------------------------------------------------------
1 | myObject.myProperty = value 2
2 |
--------------------------------------------------------------------------------
/Configuration/user.tsconfig:
--------------------------------------------------------------------------------
1 | options.pageTree.doktypesToShowInNewPageDragArea := addToList(116)
2 |
--------------------------------------------------------------------------------
/Configuration/TsConfig/Page/Mod/noExportRecordsLinks.tsconfig:
--------------------------------------------------------------------------------
1 | mod.web_list {
2 | noExportRecordsLinks = 1
3 | }
4 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/ValueModification2/setup.typoscript:
--------------------------------------------------------------------------------
1 | myObject = TEXT
2 | myObject.value = 3,4,5
3 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | For help about contributing to the documentation, see https://docs.typo3.org/typo3cms/HowToDocument/
2 |
--------------------------------------------------------------------------------
/Configuration/TsConfig/Page/Mod/csvExport.tsconfig:
--------------------------------------------------------------------------------
1 | mod.web_list {
2 | csvDelimiter = ;
3 | csvQuote = '
4 | }
5 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/Not/setup.typoscript:
--------------------------------------------------------------------------------
1 | [!loginUser('*')]
2 | page.10.value = No user is logged in!
3 | [END]
4 |
--------------------------------------------------------------------------------
/Resources/Public/Icons/Extension.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Resources/Public/Icons/Extension.png
--------------------------------------------------------------------------------
/Documentation/Images/FlashMessages.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Documentation/Images/FlashMessages.png
--------------------------------------------------------------------------------
/Resources/Public/Images/Distribution.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Resources/Public/Images/Distribution.png
--------------------------------------------------------------------------------
/ATTRIBUTION.txt:
--------------------------------------------------------------------------------
1 | Several icons used in this extension come from the Fugue Collection,
2 | by Yusuke Kamiyamane.
3 |
4 | https://p.yusukekamiyamane.com/
5 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/Variables/setup.typoscript:
--------------------------------------------------------------------------------
1 | [page["backend_layout"] == 1]
2 | page.42.value = Backend layout 1 choosen
3 | [END]
4 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/ObjectUnsetting/setup.typoscript:
--------------------------------------------------------------------------------
1 | myObject = TEXT
2 | myObject.value = HTML - code
3 |
4 | myObject >
5 |
--------------------------------------------------------------------------------
/Resources/Public/Images/JapaneseGarden.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Resources/Public/Images/JapaneseGarden.jpg
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/OrConditions/setup.typoscript:
--------------------------------------------------------------------------------
1 | [condition1() or condition2()]
2 | temp.value = Condition 1 or condition 2 met
3 | [END]
4 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/CodeBlock/setup.typoscript:
--------------------------------------------------------------------------------
1 | myObject = TEXT
2 | myObject.stdWrap.field = title
3 | myObject.stdWrap.ifEmpty.data = leveltitle:0
4 |
--------------------------------------------------------------------------------
/ext_conf_template.txt:
--------------------------------------------------------------------------------
1 | # cat=basic; type=string; label=Some string
2 | somestring = /usr/bin/
3 |
4 | # cat=basic; type=int; label=Some int
5 | someint = 20
6 |
--------------------------------------------------------------------------------
/Configuration/Sets/ExamplesHMenu/config.yaml:
--------------------------------------------------------------------------------
1 | name: t3docs/examples-hmenu
2 | label: "Examples: HMENU special userfunc"
3 | dependencies:
4 | - t3docs/examples
5 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/AndConditions/setup.typoscript:
--------------------------------------------------------------------------------
1 | [condition1() and condition2()]
2 | page.42.value = Condition 1 and condition 2 met
3 | [END]
4 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/Arrays/setup.typoscript:
--------------------------------------------------------------------------------
1 | [page["pid"] in [17,24]]
2 | page.42.value = This page is a child of page 17 or page 24
3 | [END]
4 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/CustomContentElements/Step1.typoscript:
--------------------------------------------------------------------------------
1 | lib.contentElement {
2 | templateRootPaths.100 = EXT:examples/Resources/Private/Templates/
3 | }
4 |
--------------------------------------------------------------------------------
/Resources/Public/Images/DistributionWelcome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Resources/Public/Images/DistributionWelcome.png
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/MultiLine/setup.typoscript:
--------------------------------------------------------------------------------
1 | myObject = TEXT
2 | myObject.value (
3 |
4 | This is HTML code.
5 |
6 | )
7 |
--------------------------------------------------------------------------------
/Configuration/TsConfig/Page/Extension/Linkvalidator.tsconfig:
--------------------------------------------------------------------------------
1 | mod.linkvalidator {
2 | # specify link types to be crawled
3 | linktypes = db,file,external,example
4 | }
5 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/ObjectCopying3/setup.typoscript:
--------------------------------------------------------------------------------
1 | pageObj {
2 | 10 = TEXT
3 | 10.value = This is HTML code.
4 | 20 < .10
5 | }
6 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/ObjectCopying/setup.typoscript:
--------------------------------------------------------------------------------
1 | myObject = TEXT
2 | myObject.value = This is HTML code.
3 |
4 | myOtherObject < myObject
5 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/ObjectCopying2/setup.typoscript:
--------------------------------------------------------------------------------
1 | pageObj {
2 | 10 = TEXT
3 | 10.value = This is HTML code.
4 | 20 < pageObj.10
5 | }
6 |
--------------------------------------------------------------------------------
/Documentation/Localization.de_DE/Images/FlashMessages.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Documentation/Localization.de_DE/Images/FlashMessages.png
--------------------------------------------------------------------------------
/Documentation/Localization.es_ES/Images/FlashMessages.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Documentation/Localization.es_ES/Images/FlashMessages.png
--------------------------------------------------------------------------------
/Documentation/Localization.fr_FR/Images/FlashMessages.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Documentation/Localization.fr_FR/Images/FlashMessages.png
--------------------------------------------------------------------------------
/Resources/Private/Layouts/Default.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/Equality/setup.typoscript:
--------------------------------------------------------------------------------
1 | [applicationContext == "Development"]
2 | page.42.value = The application context is exactly "Development"
3 | [END]
4 |
5 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/Strings/setup.typoscript:
--------------------------------------------------------------------------------
1 | [request.getNormalizedParams().getHttpHost() == 'www.example.org']
2 | page.42.value = Http Host is www.example.org
3 | [END]
4 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/Valid/setup.typoscript:
--------------------------------------------------------------------------------
1 | someObject {
2 | 1property = 234
3 | }
4 | [loginUser('*')]
5 | someObject {
6 | 2property = 567
7 | }
8 | [GLOBAL]
9 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/Wildcards/setup.typoscript:
--------------------------------------------------------------------------------
1 | [like(applicationContext, "Development*")]
2 | page.42.value = The application context starts with "Development"
3 | [END]
4 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/ValueModification/setup.typoscript:
--------------------------------------------------------------------------------
1 | myObject = TEXT
2 | myObject.value = 1,2,3
3 | myObject.value := addToList(4,5)
4 | myObject.value := removeFromList(2,1)
5 |
--------------------------------------------------------------------------------
/Configuration/TsConfig/Page/ContentElementWizard.tsconfig:
--------------------------------------------------------------------------------
1 | mod.wizards.newContentElement.wizardItems {
2 | dataProcessingExamples.header = LLL:examples.messages:dataProcessingExamples
3 | }
4 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/ArrayOperators/setup.typoscript:
--------------------------------------------------------------------------------
1 | [17 in tree.rootLineIds || 24 in tree.rootLineIds]
2 | page.42.value = Pid with id 17 or 24 is in the rootline.
3 | [END]
4 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/CommentsSingleLine/setup.typoscript:
--------------------------------------------------------------------------------
1 | // This is a comment
2 | myObject = TEXT
3 | myObject.value = Some HTML code
4 | # This line also is a comment.
5 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/RegularExpressions/setup.typoscript:
--------------------------------------------------------------------------------
1 | [applicationContext matches "/^Development/"]
2 | page.42.value = The application context starts with "Development"
3 | [END]
4 |
--------------------------------------------------------------------------------
/Initialisation/data.xml.files/0a55d068749bf201b8486d4e4cc6691df6f9077e:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Initialisation/data.xml.files/0a55d068749bf201b8486d4e4cc6691df6f9077e
--------------------------------------------------------------------------------
/Initialisation/data.xml.files/10cc025d8583bfd3272bf8ee4b309edb79bad55f:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Initialisation/data.xml.files/10cc025d8583bfd3272bf8ee4b309edb79bad55f
--------------------------------------------------------------------------------
/Initialisation/data.xml.files/2525cdd6f325f3fe72e671eacaccf6a56a496bc3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Initialisation/data.xml.files/2525cdd6f325f3fe72e671eacaccf6a56a496bc3
--------------------------------------------------------------------------------
/Initialisation/data.xml.files/277f2e275ef9822dd9cbf22687a93a47ecc5c329:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Initialisation/data.xml.files/277f2e275ef9822dd9cbf22687a93a47ecc5c329
--------------------------------------------------------------------------------
/Initialisation/data.xml.files/3e31a4a35c74f3a04c6c28b1feb2ccd735bbc5a7:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Initialisation/data.xml.files/3e31a4a35c74f3a04c6c28b1feb2ccd735bbc5a7
--------------------------------------------------------------------------------
/Initialisation/data.xml.files/5021ab409489abc0b5d99f827404490af0939dc9:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Initialisation/data.xml.files/5021ab409489abc0b5d99f827404490af0939dc9
--------------------------------------------------------------------------------
/Initialisation/data.xml.files/63c2ea1d850867bfd506f16dfdfb0fbfa3ac8db5:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Initialisation/data.xml.files/63c2ea1d850867bfd506f16dfdfb0fbfa3ac8db5
--------------------------------------------------------------------------------
/Initialisation/data.xml.files/b8a8591926c3640aa1dba9c9a4b0b16691ec71ea:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Initialisation/data.xml.files/b8a8591926c3640aa1dba9c9a4b0b16691ec71ea
--------------------------------------------------------------------------------
/Initialisation/data.xml.files/bc273ceea6373ab772e8a9284309e67c8da33250:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Initialisation/data.xml.files/bc273ceea6373ab772e8a9284309e67c8da33250
--------------------------------------------------------------------------------
/Initialisation/data.xml.files/cbae265b37870746011945d9b18988dc04018824:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TYPO3-Documentation/t3docs-examples/HEAD/Initialisation/data.xml.files/cbae265b37870746011945d9b18988dc04018824
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/Conditions/setup.typoscript:
--------------------------------------------------------------------------------
1 | [date("j") == 9]
2 | page.10.value = It is the 9th day of the month!
3 | [ELSE]
4 | page.10.value = It is NOT the 9th day of the month!
5 | [END]
6 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/CustomContentElements/Basic.typoscript:
--------------------------------------------------------------------------------
1 | tt_content {
2 | examples_basiccontent =< lib.contentElement
3 | examples_basiccontent {
4 | templateName = BasicContent
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/Introduction/setup.typoscript:
--------------------------------------------------------------------------------
1 | myObject = [value 1]
2 | myObject.myProperty = [value 2]
3 | myObject.myProperty.firstProperty = [value 3]
4 | myObject.myProperty.secondProperty = [value 4]
5 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/CodeBlock2/setup.typoscript:
--------------------------------------------------------------------------------
1 | myObject = TEXT
2 | myObject {
3 | stdWrap {
4 | field = title
5 | ifEmpty {
6 | data = leveltitle:0
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/CustomContentElements/Step2.typoscript:
--------------------------------------------------------------------------------
1 | tt_content {
2 | examples_newcontentelement =< lib.contentElement
3 | examples_newcontentelement {
4 | templateName = NewContentElement
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/Functions/setup.typoscript:
--------------------------------------------------------------------------------
1 | [loginUser('*')]
2 | page.42.value = Frontend user logged in
3 | [END]
4 | [getTSFE().isBackendUserLoggedIn()]
5 | page.42.value = Backend user logged in
6 | [END]
7 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/ObjectCopying4/setup.typoscript:
--------------------------------------------------------------------------------
1 | someObject = TEXT
2 | someObject {
3 | value = Hello world!
4 | stdWrap.wrap = |
5 | }
6 | anotherObject < someObject
7 | someObject.stdWrap.wrap =
||
5 | }
6 | anotherObject =< someObject
7 | someObject.stdWrap.wrap =
|
8 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/InvalidGlobal/setup.typoscript:
--------------------------------------------------------------------------------
1 | # Invalid: This example is not valid on purpose
2 | # Conditions must not be used within value blocks
3 | someObject {
4 | 1property = 234
5 | [GLOBAL]
6 | 2property = 567
7 | }
8 |
9 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/Else/setup.typoscript:
--------------------------------------------------------------------------------
1 | page = PAGE
2 | page.10 = TEXT
3 |
4 | [loginUser('*')]
5 | page.10.value = Logged in
6 | [ELSE]
7 | page.10.value = Not logged in
8 | [END]
9 |
10 | page.10.stdWrap.wrap = |
11 |
--------------------------------------------------------------------------------
/Configuration/TsConfig/Page/BackendTemplateOverrides.tsconfig:
--------------------------------------------------------------------------------
1 |
2 | # Pattern: templates."composer-name"."something-unique" = "overriding-extension-composer-name":"entry-path"
3 | templates.typo3/cms-backend.1665726783 = t3docs/examples:Resources/Private/Overrides/Backend
4 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/Invalid/setup.typoscript:
--------------------------------------------------------------------------------
1 | # Invalid: This example is not valid on purpose
2 | # Conditions must not be used within value blocks
3 | someObject {
4 | 1property = 234
5 | [loginUser('*')]
6 | 2property = 567
7 | [GLOBAL]
8 | }
9 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/Syntax/setup.typoscript:
--------------------------------------------------------------------------------
1 | # ... some TypoScript, always parsed
2 |
3 | [condition]
4 |
5 | # .... some more TypoScript (only parsed if the condition is met.)
6 |
7 | [GLOBAL]
8 |
9 | # ... some TypoScript, always parsed
10 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/TSref/NoPrint.typoscript:
--------------------------------------------------------------------------------
1 | # Implement "no print" checkbox
2 | # USAGE: TCA Reference > $TCA array reference > Extending the $TCA array
3 | tt_content.stdWrap.outerWrap = |
4 | tt_content.stdWrap.outerWrap.if.isTrue.field = tx_examples_noprint
5 |
--------------------------------------------------------------------------------
/Configuration/Sets/Examples/page.tsconfig:
--------------------------------------------------------------------------------
1 | @import 'EXT:examples/Configuration/TsConfig/Page/*.tsconfig'
2 | @import 'EXT:examples/Configuration/TsConfig/Page/LinkBrowser/*.tsconfig'
3 | @import 'EXT:examples/Configuration/TsConfig/Page/Extension/*.tsconfig'
4 | @import 'EXT:examples/Configuration/TsConfig/Page/Mod/*.tsconfig'
5 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Conditions/Simple/setup.typoscript:
--------------------------------------------------------------------------------
1 | page = PAGE
2 | page.10 = TEXT
3 | page.10.value = HELLO WORLD!
4 |
5 | [loginUser('*') or ip('127.0.0.1')]
6 | page.20 = TEXT
7 | page.20 {
8 | value = Only for logged in users or local setup
9 | stdWrap.case = upper
10 | }
11 | [GLOBAL]
12 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/DataProcessors/General.typoscript:
--------------------------------------------------------------------------------
1 | lib.contentElement {
2 | templateRootPaths.200 = EXT:examples/Resources/Private/Templates/ContentElements/
3 | partialRootPaths.200 = EXT:examples/Resources/Private/Partials/ContentElements/
4 | layoutRootPaths.200 = EXT:examples/Resources/Private/Layout/
5 | }
6 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/DataProcessors/Processors/SiteProcessor.typoscript:
--------------------------------------------------------------------------------
1 | tt_content {
2 | examples_dataprocsite =< lib.contentElement
3 | examples_dataprocsite {
4 | templateName = DataProcSite
5 | dataProcessing.10 = site
6 | dataProcessing.10 {
7 | as = site
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/ContentElements/DataProcSiteLanguage.html:
--------------------------------------------------------------------------------
1 |
2 | Data in variable site
3 | {language}
4 |
5 | Output
6 |
7 | language id: {language.languageId}
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/NewContentElement.html:
--------------------------------------------------------------------------------
1 |
3 | Data availible to the content element:
4 | {_all}
5 | Output
6 | {data.bodytext}
7 |
8 |
--------------------------------------------------------------------------------
/Resources/Private/Partials/Module/EditPage1Link.html:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 | Edit page 1
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/DataProcessors/Processors/SiteLanguageProcessor.typoscript:
--------------------------------------------------------------------------------
1 | tt_content {
2 | examples_dataprocsitelanguage =< lib.contentElement
3 | examples_dataprocsitelanguage {
4 | templateName = DataProcSiteLanguage
5 | dataProcessing.10 = site-language
6 | dataProcessing.10 {
7 | as = language
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/FalExample/ListFiles.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | FAL Examples
4 | Listing files from a folder
5 |
6 | Folder: {folder.identifier}
7 |
8 |
9 | {file.publicUrl}
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/ext_tables.sql:
--------------------------------------------------------------------------------
1 | # Log tables have no TCA and are not created automatically
2 | CREATE TABLE tx_examples_log (
3 | request_id varchar(13) DEFAULT '' NOT NULL,
4 | time_micro double(16,4) NOT NULL default '0',
5 | component varchar(255) DEFAULT '' NOT NULL,
6 | level tinyint(1) unsigned DEFAULT '0' NOT NULL,
7 | message text,
8 | data text,
9 |
10 | KEY request (request_id)
11 | );
12 |
--------------------------------------------------------------------------------
/Configuration/TsConfig/Page/LinkBrowser/HaikuRecordLinkBrowser.tsconfig:
--------------------------------------------------------------------------------
1 | TCEMAIN.linkHandler {
2 | haiku {
3 | handler = TYPO3\CMS\Backend\LinkHandler\RecordLinkHandler
4 | label = LLL:examples.browse_links:haiku
5 | configuration {
6 | table = tx_examples_haiku
7 | }
8 | displayAfter = url
9 | scanBefore = page
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/FalExample/Collection.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | FAL Examples
4 | Listing files from a collection
5 |
6 | Collection: {collection.title}
7 |
8 |
9 | {file.title}
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/ContentElements/DataProcSite.html:
--------------------------------------------------------------------------------
1 |
2 | Data in variable site
3 | {site}
4 |
5 | Output
6 |
7 | Base url: {site.configuration.base}
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/DataProcessors/Processors/LanguageMenuProcessor.typoscript:
--------------------------------------------------------------------------------
1 | tt_content {
2 | examples_dataproclang =< lib.contentElement
3 | examples_dataproclang {
4 | templateName = DataProcLangMenu
5 | dataProcessing.10 = language-menu
6 | dataProcessing.10 {
7 | languages = auto
8 | as = languageNavigation
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/ContentElements/BasicContent.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {data.bodytext}
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/RecordLinks/Haiku.typoscript:
--------------------------------------------------------------------------------
1 | config.recordLinks.haiku {
2 | // Do not force link generation when the record is hidden
3 | forceLink = 0
4 |
5 | typolink {
6 | parameter = {$plugin.tx_examples_haiku.settings.singlePid}
7 | additionalParams.data = field:uid
8 | additionalParams.wrap = &tx_examples_haiku[action]=show&tx_examples_haiku[haiku]=|
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/Resources/Private/Partials/Module/CreateHaikuLink.html:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/DataProcessors/Processors/CustomCategoryProcessor.typoscript:
--------------------------------------------------------------------------------
1 | tt_content {
2 | examples_dataproccustom =< lib.contentElement
3 | examples_dataproccustom {
4 | templateName = DataProcCustom
5 | dataProcessing.10 = custom-category
6 | dataProcessing.10 {
7 | as = categories
8 | categoryList.field = categories
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/Syntax/CommentsBlock/setup.typoscript:
--------------------------------------------------------------------------------
1 | /* This is a comment
2 | .. and this line is within that comment which...
3 | ends here:
4 | */ ... this is not parsed either though - the whole line is still within the comment
5 | myObject = TEXT
6 | myObject.value (
7 | Here is a multiline value which
8 | /*
9 | This is not a comment because it is inside a multi-line value block
10 | */
11 | )
12 |
--------------------------------------------------------------------------------
/Configuration/TsConfig/Page/LinkBrowser/GitHubLinkhandler.tsconfig:
--------------------------------------------------------------------------------
1 | TCEMAIN.linkHandler {
2 | github {
3 | handler = T3docs\Examples\LinkHandler\GitHubLinkHandler
4 | label = LLL:examples.browse_links:github
5 | displayAfter = haiku
6 | scanBefore = url
7 | configuration {
8 | project = TYPO3-Documentation/TYPO3CMS-Reference-CoreApi
9 | action = issues
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/FalExample/Index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | FAL Examples
4 |
5 |
6 | Listing files in a given folder
7 |
8 |
9 | Listing files from a given collection
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Documentation/Maintainers/FlashMessagesDemo/Index.rst:
--------------------------------------------------------------------------------
1 | .. include:: /Includes.rst.txt
2 | .. _demo-error-flash:
3 |
4 |
5 | ============================
6 | Flash messages demonstration
7 | ============================
8 |
9 | The extension's BE module provide a screen for outputting Flash
10 | messages. Code extracts are used in Core APIs.
11 |
12 | .. figure:: ../../Images/FlashMessages.png
13 | :alt: Flash messages produced by the "Examples" BE module
14 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/AdminModule/Index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | This is a simple module example.
5 | Variable "aVariable" contains: {aVariable}
6 | We have the following variables available:
7 | {_all}
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/AdminModule/Debug.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | {cookies}
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/ContentElements/DataProcSplit.html:
--------------------------------------------------------------------------------
1 |
2 | Data in variable urlParts
3 | {urlParts}
4 |
5 | Output
6 |
7 | {part}
8 | /
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Documentation/Localization.es_ES/Maintainers/FlashMessagesDemo/Index.rst:
--------------------------------------------------------------------------------
1 | .. include:: /Includes.rst.txt
2 | .. _demo-error-flash:
3 |
4 |
5 | ==============================
6 | Demostración de mensajes Flash
7 | ==============================
8 |
9 | The extension's BE module provide a screen for outputting Flash
10 | messages. Code extracts are used in Core APIs.
11 |
12 | .. figure:: ../../Images/FlashMessages.png
13 | :alt: Flash messages produced by the "Examples" BE module
14 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/ContentElements/DataProcCustom.html:
--------------------------------------------------------------------------------
1 |
2 | Data in variable categories
3 | {categories}
4 |
5 | Output
6 |
7 |
8 |
9 | {category.title}
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Resources/Public/Images/Flask.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Documentation/Localization.fr_FR/Maintainers/FlashMessagesDemo/Index.rst:
--------------------------------------------------------------------------------
1 | .. include:: /Includes.rst.txt
2 | .. _demo-error-flash:
3 |
4 |
5 | ===============================
6 | Démonstration de messages Flash
7 | ===============================
8 |
9 | The extension's BE module provide a screen for outputting Flash
10 | messages. Code extracts are used in Core APIs.
11 |
12 | .. figure:: ../../Images/FlashMessages.png
13 | :alt: Flash messages produced by the "Examples" BE module
14 |
--------------------------------------------------------------------------------
/Resources/Private/Partials/Module/EditPage2Link.html:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 | Edit page 2
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Resources/Private/Language/custom.xlf:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Most important tile
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/Haiku/List.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | {haiku.title}
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/DataProcessors/Processors/FilesProcessor.typoscript:
--------------------------------------------------------------------------------
1 | tt_content {
2 | examples_dataprocfiles =< lib.contentElement
3 | examples_dataprocfiles {
4 | templateName = DataProcFiles
5 | dataProcessing.10 = files
6 | dataProcessing.10 {
7 | as = images
8 | references.fieldName = image
9 | references.table = tt_content
10 | sorting = title
11 | sorting.direction = descending
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/DataProcessors/Processors/SplitProcessor.typoscript:
--------------------------------------------------------------------------------
1 | tt_content {
2 | examples_dataprocsplit =< lib.contentElement
3 | examples_dataprocsplit {
4 | templateName = DataProcSplit
5 | dataProcessing.10 = split
6 | dataProcessing.10 {
7 | as = urlParts
8 | delimiter = /
9 | fieldName = header_link
10 | removeEmptyEntries = 0
11 | filterIntegers = 0
12 | filterUnique = 0
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Documentation/Localization.de_DE/Maintainers/FlashMessagesDemo/Index.rst:
--------------------------------------------------------------------------------
1 | .. include:: /Includes.rst.txt
2 | .. _demo-error-flash:
3 |
4 |
5 | ===================================
6 | Demonstration von Flash-Nachrichten
7 | ===================================
8 |
9 | Das BE-Modul der Erweiterung bietet einen Bildschirm für die Ausgabe von Flash Meldungen. Code-Extrakte werden in
10 | Core-APIs verwendet.
11 |
12 | .. figure:: ../../Images/FlashMessages.png
13 | :alt: Vom BE-Modul erzeugte "Beispiel" Flash-Nachrichten
14 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/Page/Main.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Resources/Private/Partials/Module/CreateHaikuBlankLink.html:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Documentation/.gitignore:
--------------------------------------------------------------------------------
1 | #########################
2 | # Git
3 | # global ignore file
4 | ########################
5 | # ignoring temporary files (left by e.g. vim)
6 | # ignoring by common IDE's used directories/files
7 | # dont ignore .rej and .orig as we want to see/clean files after conflict resolution
8 | #
9 | # for local exclude patterns please edit .git/info/exclude
10 | #
11 | *~
12 | *.bak
13 | *.idea
14 | *.project
15 | *.swp
16 | .buildpath
17 | .cache
18 | .project
19 | .session
20 | .settings
21 | .TemporaryItems
22 | .webprj
23 | nbproject
24 |
--------------------------------------------------------------------------------
/Resources/Private/Language/de.custom.xlf:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Most important tile
8 | Wichtigster Titel
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/Collection/Index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | {collection.title} (Records from {collection.itemTableName})
10 |
11 |
12 | {record.title}
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/DataProcessors/Processors/CommaSeparatedValueProcessor.typoscript:
--------------------------------------------------------------------------------
1 | tt_content {
2 | examples_newcontentcsv =< lib.contentElement
3 | examples_newcontentcsv {
4 | templateName = DataProcCsv
5 | dataProcessing.10 = comma-separated-value
6 | dataProcessing.10 {
7 | if.isTrue.field = bodytext
8 | fieldName = bodytext
9 | fieldDelimiter.field = tx_examples_separator
10 | fieldEnclosure = "
11 | maximumColumns.field = imagecols
12 | as = myTable
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/HtmlParser/Index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Splitting by <div> and <table> tags
7 | {result1}
8 |
9 | Extracting <img> and <br> tags
10 | {result2}
11 |
12 | Cleaning to XHTML, removing non-allowed tags and attributes
13 | {result3}
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Resources/Private/Language/Module/content_examples_links.xlf:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Links
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | Demonstrates how create links and buttons in the backend.
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Documentation/Maintainers/ErrorHandlingDemo/Index.rst:
--------------------------------------------------------------------------------
1 | .. include:: /Includes.rst.txt
2 | .. _demo-error-handling:
3 |
4 | ============================
5 | Error handling demonstration
6 | ============================
7 |
8 | The extension provides a simple FE plugin for demonstrating error
9 | handling output in the FE. The settings related to the error handler
10 | should be changed to provide different output. It seems hard to get
11 | all the possible output, support for all possible settings may be
12 | buggy in the Core or has changed over the past and documentation
13 | should be adapted accordingly.
14 |
15 |
--------------------------------------------------------------------------------
/Resources/Private/Language/Module/content_examples_clipboard.xlf:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Clipboard
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | Demonstrates how to use the clipboard in custom modules.
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Resources/Private/Language/Module/content_examples_tree.xlf:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Trees
7 |
8 |
9 |
10 |
11 | Example on how to build a tree
12 |
13 |
14 |
15 |
16 | Show examples on how to build a tree.
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/Module/Log.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Configuration/Sets/Examples/setup.typoscript:
--------------------------------------------------------------------------------
1 |
2 | @import 'EXT:examples/Configuration/TypoScript/Setup/*.typoscript'
3 |
4 | @import 'EXT:examples/Configuration/TypoScript/TSref/*.typoscript'
5 |
6 | @import 'EXT:examples/Configuration/TypoScript/CustomContentElements/*.typoscript'
7 |
8 | @import 'EXT:examples/Configuration/TypoScript/DataProcessors/General.typoscript'
9 | @import 'EXT:examples/Configuration/TypoScript/DataProcessors/Processors/*.typoscript'
10 |
11 | @import 'EXT:examples/Configuration/TypoScript/RecordLinks/*.typoscript'
12 |
13 | @import 'EXT:examples/Configuration/TypoScript/PluginHaiku/setup.typoscript'
14 |
--------------------------------------------------------------------------------
/Resources/Public/JavaScript/flash-message-demo.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Module: @t3docs/examples/flash-message-demo
3 | * JavaScript code for extension "examples" backend module
4 | */
5 |
6 | import Notification from "@typo3/backend/notification.js";
7 |
8 | class FlashMessageDemo {
9 | constructor() {
10 | var button_el = document.getElementById('displayJavaScriptFlashMessage');
11 | button_el.addEventListener('click', function(event) {
12 | event.preventDefault();
13 | Notification.success('Success', 'This flash message was sent via JavaScript', 5);
14 | });
15 | }
16 | }
17 |
18 | export default new FlashMessageDemo();
19 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/Module/Debug.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Resources/Public/JavaScript/context-menu-actions.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Module: @t3docs/examples/context-menu-actions
3 | *
4 | * JavaScript to handle the click action of the "Hello World" context menu item
5 | */
6 |
7 | class ContextMenuActions {
8 |
9 | helloWorld(table, uid) {
10 | if (table === 'pages') {
11 | //If needed, you can access other 'data' attributes here from $(this).data('someKey')
12 | //see item provider getAdditionalAttributes method to see how to pass custom data attributes
13 | top.TYPO3.Notification.error('Hello World', 'Hi there!', 5);
14 | }
15 | };
16 | }
17 |
18 | export default new ContextMenuActions();
19 |
--------------------------------------------------------------------------------
/Resources/Private/Language/Module/content_examples_flash.xlf:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Flash message
7 |
8 |
9 |
10 |
11 | Flash message examples
12 |
13 |
14 |
15 |
16 | Examples of flash messages both shown inline and as a toast message.
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/PluginHaiku/constants.typoscript:
--------------------------------------------------------------------------------
1 |
2 | plugin.tx_examples_haiku {
3 | view {
4 | templateRootPath = EXT:examples/Resources/Private/Layouts
5 | partialRootPath = EXT:examples/Resources/Private/Partials
6 | layoutRootPath = EXT:examples/Resources/Private/Templates
7 | }
8 | settings {
9 | # cat=examples//b; type=int+; label=Haiku Single pid: The id of the page where the haiku detail view should be displayed
10 | singlePid = 0
11 | # cat=examples//c; type=int+; label=Haiku list pid: The id of the page where list of haikus is displayed.
12 | listPid = 0
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Documentation/Localization.es_ES/Maintainers/ErrorHandlingDemo/Index.rst:
--------------------------------------------------------------------------------
1 | .. include:: /Includes.rst.txt
2 | .. _demo-error-handling:
3 |
4 | =======================================
5 | Demostración del tratamiento de errores
6 | =======================================
7 |
8 | The extension provides a simple FE plugin for demonstrating error
9 | handling output in the FE. The settings related to the error handler
10 | should be changed to provide different output. It seems hard to get
11 | all the possible output, support for all possible settings may be
12 | buggy in the Core or has changed over the past and documentation
13 | should be adapted accordingly.
14 |
--------------------------------------------------------------------------------
/Documentation/Localization.fr_FR/Maintainers/ErrorHandlingDemo/Index.rst:
--------------------------------------------------------------------------------
1 | .. include:: /Includes.rst.txt
2 | .. _demo-error-handling:
3 |
4 | =======================================
5 | Démonstration de la gestion des erreurs
6 | =======================================
7 |
8 | The extension provides a simple FE plugin for demonstrating error
9 | handling output in the FE. The settings related to the error handler
10 | should be changed to provide different output. It seems hard to get
11 | all the possible output, support for all possible settings may be
12 | buggy in the Core or has changed over the past and documentation
13 | should be adapted accordingly.
14 |
15 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/DataProcessors/Processors/MenuProcessor.typoscript:
--------------------------------------------------------------------------------
1 | tt_content {
2 | examples_dataprocmenu =< lib.contentElement
3 | examples_dataprocmenu {
4 | templateName = DataProcMenu
5 | dataProcessing.10 = menu
6 | dataProcessing.10 {
7 | levels = 2
8 | as = headerMenu
9 | expandAll = 1
10 | includeSpacer = 1
11 | titleField = nav_title // title
12 | dataProcessing {
13 | 10 = files
14 | 10 {
15 | references.fieldName = media
16 | }
17 | }
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/ContentElements/DataProcCsv.html:
--------------------------------------------------------------------------------
1 |
2 | Data in variable "myTable"
3 | {myTable}
4 |
5 | Output, {data.imagecols} columns separated by char {data.tx_examples_separator}
6 |
7 |
8 |
9 | {i.cycle}
10 |
11 | {column}
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Configuration/Sets/ExamplesHMenu/setup.typoscript:
--------------------------------------------------------------------------------
1 | # ************************
2 | # CUSTOM MENU
3 | # ************************
4 | lib.custommenu = HMENU
5 | lib.custommenu {
6 | special = userfunction
7 | special.userFunc = T3docs\Examples\Userfuncs\CustomMenu->makeMenuArray
8 |
9 | 1 = TMENU
10 | 1.wrap =
11 | 1.NO = 1
12 | 1.NO {
13 | wrapItemAndSub = |
14 | }
15 |
16 | 2 = TMENU
17 | 2.wrap =
18 | 2.NO = 1
19 | 2.NO {
20 | wrapItemAndSub = |
21 | }
22 |
23 | 3 = TMENU
24 | 3.wrap =
25 | 3.NO = 1
26 | 3.NO {
27 | wrapItemAndSub = |
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Documentation/Users/Index.rst:
--------------------------------------------------------------------------------
1 | .. include:: /Includes.rst.txt
2 | .. _users:
3 |
4 | ============
5 | Users manual
6 | ============
7 |
8 | If you install this extension, a lot of changes will happen to your
9 | TYPO3 backend. Thus you should take care to install it only in a
10 | development environment, as you may otherwise run into some surprises.
11 |
12 | In various parts of the code contained in this extension, you will
13 | find PHP comments that look like this:
14 |
15 | .. code-block:: php
16 |
17 | // USAGE: TCA Reference > Additional $TCA features
18 |
19 | This points to which manual (and which part of the manual) refers to
20 | the given code sample. This will help you find where to find the
21 | related explanations.
22 |
--------------------------------------------------------------------------------
/Classes/Exception/NoSuchHaikuException.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Example
8 |
9 |
10 | Example module
11 |
12 |
13 | Example module showing some Core functionality
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Documentation/Localization.de_DE/Maintainers/ErrorHandlingDemo/Index.rst:
--------------------------------------------------------------------------------
1 | .. include:: /Includes.rst.txt
2 | .. _demo-error-handling:
3 |
4 | ==================================
5 | Demonstration der Fehlerbehandlung
6 | ==================================
7 |
8 | Die Erweiterung bietet ein einfaches FE-Plugin zur Demonstration der Fehlerbehandlung im Frontend. Die Einstellungen für
9 | den Error-Handler sollten geändert werden, um eine andere Ausgabe zu ermöglichen. Es scheint schwer zu sein
10 | Es scheint schwer zu sein, alle möglichen Ausgaben zu erhalten, die Unterstützung für alle möglichen Einstellungen
11 | könnte im Core fehlerhaft sein oder sich in der Vergangenheit geändert haben und die Dokumentation sollte entsprechend angepasst werden.
12 |
13 |
--------------------------------------------------------------------------------
/Classes/Exception/InvalidWizardException.php:
--------------------------------------------------------------------------------
1 | [
20 | 'path' => '/examples/module/count',
21 | 'target' => ModuleController::class . '::countAction',
22 | ],
23 | ];
24 |
--------------------------------------------------------------------------------
/Configuration/JavaScriptModules.php:
--------------------------------------------------------------------------------
1 | ['core', 'backend'],
18 | 'tags' => [
19 | 'backend.contextmenu',
20 | ],
21 | 'imports' => [
22 | '@t3docs/examples/' => 'EXT:examples/Resources/Public/JavaScript/',
23 | ],
24 | ];
25 |
--------------------------------------------------------------------------------
/Configuration/TypoScript/DataProcessors/Processors/DatabaseQueryProcessor.typoscript:
--------------------------------------------------------------------------------
1 | tt_content {
2 | examples_dataprocdb =< lib.contentElement
3 | examples_dataprocdb {
4 | templateName = DataProcDb
5 | dataProcessing.10 = database-query
6 | dataProcessing.10 {
7 | if.isTrue.field = pages
8 | table = tx_examples_haiku
9 | orderBy = title
10 | pidInList.field = pages
11 | as = myHaikus
12 | // recursively process the images in the records with the FilesProcessor
13 | dataProcessing {
14 | 10 = files
15 | 10 {
16 | references.fieldName = image
17 | }
18 | }
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Documentation/Localization.es_ES/Users/Index.rst:
--------------------------------------------------------------------------------
1 | .. include:: /Includes.rst.txt
2 | .. _users:
3 |
4 | ==================
5 | Manual del usuario
6 | ==================
7 |
8 | If you install this extension, a lot of changes will happen to your
9 | TYPO3 backend. Thus you should take care to install it only in a
10 | development environment, as you may otherwise run into some surprises.
11 |
12 | In various parts of the code contained in this extension, you will
13 | find PHP comments that look like this:
14 |
15 | .. code-block:: php
16 |
17 | // USAGE: TCA Reference > Additional $TCA features
18 |
19 | This points to which manual (and which part of the manual) refers to
20 | the given code sample. This will help you find where to find the
21 | related explanations.
22 |
23 |
--------------------------------------------------------------------------------
/Documentation/Localization.fr_FR/Users/Index.rst:
--------------------------------------------------------------------------------
1 | .. include:: /Includes.rst.txt
2 | .. _users:
3 |
4 | ====================
5 | Manuel d'utilisation
6 | ====================
7 |
8 | If you install this extension, a lot of changes will happen to your
9 | TYPO3 backend. Thus you should take care to install it only in a
10 | development environment, as you may otherwise run into some surprises.
11 |
12 | In various parts of the code contained in this extension, you will
13 | find PHP comments that look like this:
14 |
15 | .. code-block:: php
16 |
17 | // USAGE: TCA Reference > Additional $TCA features
18 |
19 | This points to which manual (and which part of the manual) refers to
20 | the given code sample. This will help you find where to find the
21 | related explanations.
22 |
--------------------------------------------------------------------------------
/Resources/Private/Language/AdminModule/locallang_mod.xlf:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Example Admin module showing some Core functionality
8 |
9 |
10 | Admin Example
11 |
12 |
13 | Example Admin module
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/README.rst:
--------------------------------------------------------------------------------
1 | \|
2 | `Contributing <.github/CONTRIBUTING.md>`__ \|
3 | `Help & Support `__ \|
4 | `Settings `__ \|
5 |
6 | ===========================
7 | Sample Extension "examples"
8 | ===========================
9 |
10 | **Installation:** Can be installed via composer:
11 | ``composer req t3docs/examples``
12 |
13 | This extension provides a number of code examples used in the TYPO3 Core Documentation.
14 |
15 | Refer to the documentation for more details.
16 |
17 | :Code Repository: https://github.com/TYPO3-Documentation/t3docs-examples
18 | :Read Documentation Online: https://docs.typo3.org/p/t3docs/examples/master/en-us/
19 | :TYPO3 Extension Repository: https://extensions.typo3.org/extension/examples/
20 | :Extension Key: examples
21 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/Haiku/Detail.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | No Haiku found, sorry!
10 |
11 |
12 | {haiku.title}
13 | {haiku.poem}
14 |
15 |
16 |
17 |
18 |
19 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Documentation/Localization.de_DE/Users/Index.rst:
--------------------------------------------------------------------------------
1 | .. include:: /Includes.rst.txt
2 | .. _users:
3 |
4 | ================
5 | Benutzerhandbuch
6 | ================
7 |
8 | Wenn Sie diese Erweiterung installieren, werden viele Änderungen an Ihrem TYPO3-Backend. Daher sollten Sie darauf
9 | achten, dass Sie die Extension nur in einer Entwicklungsumgebung zu installieren, da es sonst zu Überraschungen kommen kann.
10 |
11 | In verschiedenen Teilen des Codes dieser Extension werden Sie finden Sie PHP-Kommentare, die wie folgt aussehen:
12 |
13 | .. code-block:: php
14 |
15 | // USAGE: TCA Reference > Additional $TCA features
16 |
17 | Dies zeigt an, welches Handbuch (und welcher Teil des Handbuchs) sich auf das angegebene Codebeispiel bezieht. Dies
18 | hilft Ihnen bei der Suche nach den Erklärungen zu finden.
19 |
--------------------------------------------------------------------------------
/Classes/Domain/Model/Category.php:
--------------------------------------------------------------------------------
1 | title;
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Configuration/TCA/Overrides/tt_content_plugin_falexamples.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | Icon / Title:
18 | Page UID:
19 |
20 |
21 |
22 |
23 |
24 |
25 | {page.depthData}
26 | {page.HTML}
27 | {page.row.title}
28 |
29 | {page.row.uid}
30 |
31 |
32 |
33 |
34 |
35 |