Fluidtemplate
Das ist der Inhalt aus Private/Templates/Cnt/Test.html
array(21 items)settings =>array(2 items)page =>array(5 items)enableRSS => '0' (1 chars) root =>array(1 item)uid => '2' (1 chars)tracking =>array(2 items)google =>array(3 items)trackingID => '' (0 chars) tagmanagerID => '' (0 chars) trackingDomain => '.krisenvorsorge-oa.de' (21 chars)matomo =>array(1 item)trackingID => '116' (3 chars)legal =>array(2 items)privacy =>array(1 item)uid => '19' (2 chars)imprint =>array(1 item)uid => '20' (2 chars)searchpage =>array(1 item)uid => '15' (2 chars)customer =>array(10 items)image => 'fileadmin/login_image/customer.jpg' (34 chars) name => 'Landratsamt Oberallgäu' (22 chars) email => 'buergerservice@lra-oa.bayern.de' (31 chars) str => 'Oberallgäuer Platz 2' (20 chars) plz => '87527' (5 chars) ort => 'Sonthofen' (9 chars) tel => '08321 612 - 0' (13 chars) fax => '08321 612 - 6767' (16 chars) adresse => 'Adresse ausführlich' (19 chars) land => 'DE' (2 chars)pageTitle => 'Fluidtemplate' (13 chars) seoTitle => '' (0 chars) pageUid => '34' (2 chars) pageAuthor => '' (0 chars) pageCrdate => '1677846303' (10 chars) pageTstamp => '1681279706' (10 chars) pageDescription => '' (0 chars) pageKeywords => '' (0 chars) pageSlug => '/beispiele/fluidtemplate' (24 chars) siteIdentifier => 'lraoa' (5 chars) rootPage => '2' (1 chars) siteBase => 'https://krisenvorsorge-oa.de/' (29 chars) currentUsername => '' (0 chars) currentLanguage => 'de' (2 chars) currentFirstname => '' (0 chars) currentLastname => '' (0 chars) currentEmail => '' (0 chars) currentUsergroups => '' (0 chars) data =>array(2 items)0 => 'EXT:sd_sitepackage/Resources/Private/Templates/Cnt/Test.html' (60 chars) currentValue_kidjls9dksoje => 'EXT:sd_sitepackage/Resources/Private/Templates/Cnt/Test.html' (60 chars)current => 'EXT:sd_sitepackage/Resources/Private/Templates/Cnt/Test.html' (60 chars)
JSON Decode:
{ "servlet-name": "coTest", "servlet-class": "AdmiTest", "init-param": { "mailHost": "mail1", "number": 234, "mailHostOverride": "mail2" } }
array(3 items)servlet-name => 'coTest' (6 chars) servlet-class => 'AdmiTest' (8 chars) init-param =>array(3 items)mailHost => 'mail1' (5 chars) number => 234 (integer) mailHostOverride => 'mail2' (5 chars)
News-Link Beispiel:
<f:link.typolink parameter="t3://record?identifier=tx_news&uid=1"> News-Detail
Hier ein paar Variablen und Settings:
Aktuelles Datum | 2024-12-27 um 14:00 |
---|---|
pageTitle | Fluidtemplate |
pageUid | 34 |
siteBase | https://krisenvorsorge-oa.de/ |
rootPage | 2 |
settings.page.root.uid | 2 |
Hier ein Partial, das aus dem Content-Context eingebunden wird:
Ausgelagerter Inhalt für das FluidTemplate-CE
Quelle: Resources/Private/Partials/Content/Fluidtemplate/TestPartial.html
Hier ein Beispiel, wie man im Fluidtemplate einen Typolink zu einer News-Detailseite erstellt: News-Detail