Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
— | provider_extension [2023.12.12 16:02] (aktuell) – angelegt - Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== Aufbau einer Provider Extension ====== | ||
+ | |||
+ | |||
+ | |||
+ | └── ibkprovider | ||
+ | ├── Configuration | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | ├ config.ts | ||
+ | | ├ constants.ts | ||
+ | | └ setup.ts | ||
+ | ├── Documentation.tmpl | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | └── Resources | ||
+ | ├── Private | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | └── Public | ||
+ | ├── bootstrap | ||
+ | ├── css | ||
+ | ├── js | ||
+ | └── lib | ||
+ | | ||
+ | ===== Configuration ===== | ||
+ | |||
+ | |||
+ | ==== TypoScript ==== | ||
+ | |||
+ | === config.ts === | ||
+ | |||
+ | |||
+ | config { | ||
+ | xmlprologue = none | ||
+ | uniqueLinkVars = 1 | ||
+ | linkVars := addToList(L(1), | ||
+ | absRefPrefix = / | ||
+ | cache_period = 1 | ||
+ | | ||
+ | ## Character sets | ||
+ | renderCharset = utf-8 | ||
+ | metaCharset = utf-8 | ||
+ | | ||
+ | ## Sys Variablen | ||
+ | sys_language_uid = 0 | ||
+ | sys_language_overlay = 1 | ||
+ | sys_language_mode = content_fallback | ||
+ | |||
+ | ## Sprache | ||
+ | language = de | ||
+ | locale_all = de_DE.UTF-8 | ||
+ | htmlTag_langKey = de | ||
+ | | ||
+ | ## META Angaben | ||
+ | pageTitleFirst = 1 | ||
+ | noPageTitle = 1 | ||
+ | sendCacheHeaders = 1 | ||
+ | message_page_is_being_generated = Die angeforderte Seite wird Ihnen gleich angezeigt. | ||
+ | | ||
+ | spamProtectEmailAddresses = 2 | ||
+ | spamProtectEmailAddresses_atSubst = (at) | ||
+ | | ||
+ | ## RealURL Configuration | ||
+ | tx_realurl_enable = 1 | ||
+ | simulateStaticDocuments = 0 | ||
+ | } | ||
+ | |||
+ | |||
+ | === constants.ts === | ||
+ | |||
+ | | ||
+ | ############################################################## | ||
+ | ### IBK Provider Extension - Template Paths ### | ||
+ | ############################################################## | ||
+ | | ||
+ | plugin.tx_ibkprovider { | ||
+ | view { | ||
+ | # cat=plugin.tx_ibkprovider/ | ||
+ | templateRootPaths { | ||
+ | 10 = EXT: | ||
+ | } | ||
+ | # cat=plugin.tx_ibkprovider/ | ||
+ | partialRootPaths { | ||
+ | 10 = EXT: | ||
+ | } | ||
+ | # cat=plugin.tx_ibkprovider/ | ||
+ | layoutRootPaths { | ||
+ | 10 = EXT: | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | | ||
+ | ############################################################## | ||
+ | ### KE Facetted Search - Template Paths Search Box ### | ||
+ | ############################################################## | ||
+ | | ||
+ | plugin.tx_kesearch_pi1 { | ||
+ | templateRootPath = EXT: | ||
+ | templateRootPaths { | ||
+ | 10 = EXT: | ||
+ | } | ||
+ | } | ||
+ | | ||
+ | In **neueren** Versionen von **KE_SEARCH** werden die Constants in der Extension selber so gesetzt, dass man sie nun mit dieser Eingabe überschreiben kann: | ||
+ | | ||
+ | plugin.tx_kesearch.templateRootPath = EXT: | ||
+ | | ||
+ | === setup.ts === | ||
+ | |||
+ | Bis zur Version 8.7 von TYPO3: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | | ||
+ | page = PAGE | ||
+ | page { | ||
+ | [...] | ||
+ | } | ||
+ | |||
+ | Seit der Version 9.5 von TYPO3: | ||
+ | |||
+ | @import " | ||
+ | | ||
+ | page = PAGE | ||
+ | page { | ||
+ | [...] | ||
+ | } | ||
+ | |||
+ | |||
+ | ===== Resources ===== | ||
+ | |||
+ | |||
+ | ==== Private ==== | ||
+ | |||
+ | === Page Template === | ||
+ | |||
+ | Eingebunden über: | ||
+ | \\ ext/ | ||
+ | |||
+ | < | ||
+ | < | ||
+ | | ||
+ | < | ||
+ | < | ||
+ | | ||
+ | <f:if condition=" | ||
+ | <div class=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | | ||
+ | < | ||
+ | <f:if condition=" | ||
+ | <div id=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | | ||
+ | < | ||
+ | | ||
+ | <div class=" | ||
+ | < | ||
+ | </ | ||
+ | | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | === KE Search === | ||
+ | |||
+ | |||
+ | Einbindung eines eigenen Template für das Formular auf der Startseite der Suche. | ||
+ | |||
+ | < | ||
+ | <!-- | ||
+ | ===================== | ||
+ | Templates/ | ||
+ | --> | ||
+ | < | ||
+ | <form method=" | ||
+ | id=" | ||
+ | name=" | ||
+ | action=" | ||
+ | < | ||
+ | <f:if condition=" | ||
+ | <input type=" | ||
+ | </ | ||
+ | <f:if condition=" | ||
+ | <input type=" | ||
+ | </ | ||
+ | <f:if condition=" | ||
+ | <input type=" | ||
+ | </ | ||
+ | <f:if condition=" | ||
+ | <input type=" | ||
+ | </ | ||
+ | | ||
+ | <div class=" | ||
+ | <input type=" | ||
+ | id=" | ||
+ | name=" | ||
+ | value=" | ||
+ | placeholder=" | ||
+ | <div class=" | ||
+ | </ | ||
+ | |||
+ | <input id=" | ||
+ | <input id=" | ||
+ | <input id=" | ||
+ | <input id=" | ||
+ | |||
+ | <f:if condition=" | ||
+ | <div id=" | ||
+ | < | ||
+ | arguments=" | ||
+ | </ | ||
+ | </ | ||
+ | | ||
+ | <span class=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | === Boxen === | ||
+ | |||
+ | **Eingebunden über:** | ||
+ | \\ ibkprovider/ | ||
+ | |||
+ | <f:if condition=" | ||
+ | < | ||
+ | </ | ||
+ | | ||
+ | <f:if condition=" | ||
+ | < | ||
+ | </ | ||
+ | | ||
+ | <f:if condition=" | ||
+ | < | ||
+ | </ | ||
+ | | ||
+ | < | ||
+ | | ||
+ | < | ||
+ | | ||
+ | < | ||
+ | |||
+ | **Eingebunden über:** | ||
+ | \\ ibkprovider/ | ||
+ | |||
+ | <div class=" | ||
+ | <div class=" | ||
+ | Aktuelles | ||
+ | </ | ||
+ | <div class=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <form method=" | ||
+ | <input type=" | ||
+ | <div class=" | ||
+ | <input type=" | ||
+ | id=" | ||
+ | name=" | ||
+ | value="" | ||
+ | placeholder=" | ||
+ | <input class=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | ==== Public ==== | ||
+ | |||
+ | |||