From 4d29c93e5a3f1636a4bf9a558c714f1a3a2b7ebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=B6ffler?= Date: Thu, 16 Apr 2020 00:22:33 +0200 Subject: [PATCH] Fix typoscript styles --- .../Includes/Gridelements.typoscript | 64 ------------------- .../TypoScript/Includes/NsYouTube.typoscript | 20 +++--- 2 files changed, 9 insertions(+), 75 deletions(-) diff --git a/Configuration/TypoScript/Includes/Gridelements.typoscript b/Configuration/TypoScript/Includes/Gridelements.typoscript index 90b3641..2e09006 100644 --- a/Configuration/TypoScript/Includes/Gridelements.typoscript +++ b/Configuration/TypoScript/Includes/Gridelements.typoscript @@ -34,67 +34,3 @@ tt_content.gridelements_pi1 { } } } -#lib.gridelements.defaultGridSetup.cObject =< lib.contentElement -# -#tt_content { -# gridelements_pi1 =< lib.contentElement -# gridelements_pi1 { -# templateName = Generic -# variables { -# content = COA -# content { -# 10 = USER -# 10 { -# userFunc = GridElementsTeam\Gridelements\Plugin\Gridelements->main -# setup { -# # Grid Elements -# # @see EXT:t3olayout/Configuration/PageTS/Gridelements.tsconfig -# 1 < lib.gridelements.defaultGridSetup -# 1 { -# cObject { -# templateName = OneColumn -# templateRootPaths { -# 20 = EXT:t3olayout/Resources/Private/Templates/GridElements/ -# } -# } -# } -# -# 2 < .1 -# 2.cObject.templateName = TwoColumns5050 -# -# 3 < .1 -# 3.cObject.templateName = TwoColumns7030 -# -# 4 < .1 -# 4.cObject.templateName = TwoColumns3070 -# -# 5 < .1 -# 5.cObject.templateName = ThreeColumns -# -# 6 < .1 -# 6.cObject.templateName = FourColumns -# -# 7 < .1 -# 7.cObject.templateName = Collapse -# -# 8 < .1 -# 8.cObject.templateName = TwoColumns210 -# -# 9 < .1 -# 9.cObject.templateName = TwoColumns102 -# -# 10 < .1 -# 10.cObject.templateName = TwoColumns39 -# -# 11 < .1 -# 11.cObject.templateName = TwoColumns93 -# -# default < lib.gridelements.defaultGridSetup -# } -# } -# } -# } -# } -#} -# -#tt_content.gridelements_view < tt_content.gridelements_pi1 diff --git a/Configuration/TypoScript/Includes/NsYouTube.typoscript b/Configuration/TypoScript/Includes/NsYouTube.typoscript index 5b530c1..241ee47 100644 --- a/Configuration/TypoScript/Includes/NsYouTube.typoscript +++ b/Configuration/TypoScript/Includes/NsYouTube.typoscript @@ -1,22 +1,20 @@ plugin.tx_nsyoutube { view { - templateRootPaths.180 = EXT:t3olayout/Resources/Private/Templates/NsYoutube/Templates/ - partialRootPaths.180 = EXT:t3olayout/Resources/Private/Templates/NsYoutube/Partials/ - layoutRootPaths.180 = EXT:t3olayout/Resources/Private/Templates/NsYoutube/Layouts/ + templateRootPaths.180 = EXT:t3olayout/Resources/Private/Templates/NsYoutube/Templates/ + partialRootPaths.180 = EXT:t3olayout/Resources/Private/Templates/NsYoutube/Partials/ + layoutRootPaths.180 = EXT:t3olayout/Resources/Private/Templates/NsYoutube/Layouts/ } + settings { - javascript{ + javascript { jquery = 0 } + apiKey = {$plugin.tx_nsyoutube.settings.apiKey} } } -page.includeCSS{ - youtube = EXT:ns_youtube/Resources/Public/Css/style.css +page { + includeCSS.youtube = EXT:ns_youtube/Resources/Public/Css/style.css + includeJSFooter.youtube = EXT:ns_youtube/Resources/Public/Js/script.js } - -page.includeJSFooter{ - youtube = EXT:ns_youtube/Resources/Public/Js/script.js -} - -- GitLab