[TYPO3-german] Re: Antw: Re: Antw: fluid_styled_content
Hey Super, jetzt ist es mir klar wie ich vorgehen muss!!! Vielen Dank Christian, Du hast mich in der Sache sehr viel weiter gebracht. Lieben Gruß Ayhan ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
[TYPO3-german] Re: Antw: Re: Antw: fluid_styled_content
Oh nein so denke ich geht das nicht. Du muss schon dein eigenes "echtes" Template schreiben und das dann in page.10 packen nicht die lib.ContentElemente! lib.ContentElement ist nur für die Ausgabe der einzelnen Elemente zuständig die du im BE standardmäßig auswählen kannst. Typo3 weiß dabei noch nicht wo diese Elemente her kommen oder wo sie hin sollten. Einen Einstieg liefert dir z. B.: http://t3n.de/magazin/seitentemplates-fluid-226788/ du brauchst sowas in der Art plus deine eigenen(!) html templates, partials etc.: page { includeCSS { font1 = {$plugin.hhthemeurban.font_1} file2 = {$theme.urls.themeResources}Public/Scss/Reset.css } includeJSFooter { file1 = {$theme.urls.themeResources}Public/JavaScript/Check.js file1.forceOnTop = 1 file1.excludeFromConcatenation = 1 file2 = {$theme.urls.themeResources}Public/JavaScript/functions.js } 10 = FLUIDTEMPLATE 10 { format = html layoutRootPaths { 10 = {$theme.urls.themeResources}Private/Html/Layouts/ 20 = {$theme.urls.themeFileadmin}FluidTemplate/Layouts/ } templateRootPaths { 10 = {$theme.urls.themeResources}Private/Html/ 20 = {$theme.urls.themeFileadmin}FluidTemplate/Template/ } partialRootPaths { 10 = {$theme.urls.themeResources}Private/Html/Partials/ 20 = {$theme.urls.themeFileadmin}FluidTemplate/Partials/ } templateName = TEXT templateName.stdWrap.cObject = CASE templateName.stdWrap.cObject { key.data = levelfield:-1, backend_layout_next_level, slide key.override.field = backend_layout default = TEXT default.value = OneColumn pagets__2 = TEXT pagets__2.value = NavLeftOneColumn pagets__3 = TEXT pagets__3.value = NavLeftBannerOneColumn } variables { layout = TEXT layout.data = levelfield:-1,backend_layout_next_level,slide layout.override.field = backend_layout Header < lib.header Logo < lib.logo Banner =< styles.content.get Banner.select.where = colPos = 0 MainContent =< styles.content.get MainContent.select.where = colPos = 1 ### Variablen vom Konstanten Editor indexedSearch = TEXT indexedSearch.value = {$plugin.hhthemeurban.indexedSearch} } } } ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
[TYPO3-german] Re: Antw: Re: Antw: fluid_styled_content
Eine kleine Korrektur! Mein Setup sieht folgendermaßen aus: lib.ContentElement = FLUIDTEMPLATE lib.ContentElement { templateName = Textmedia1 layoutRootPaths { 10 = fileadmin/Resources/Private/Layouts/ 20 = fileadmin/Resources/Private/Layouts/Second/ } templateRootPaths { 10 = fileadmin/Resources/Private/Templates/ 20 = fileadmin/Resources/Private/Templates/Second/ } variables { content0 < styles.content.get } } page = PAGE page { 10 < lib.ContentElement } Ich kann zwischen den oben angegebenen Templates per Pfadangabe switchen. Jetzt kommt die alles entscheidende Frage?: Wie schaffe ich es aus dem Dropdownmenü der Seiteneigenschaften - Layout1, Layout2, ... - die Templates so auszuwählen, das sie auch ausgegeben werden?! Danke im Voraus Ayhan ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
[TYPO3-german] Re: Antw: Re: Antw: fluid_styled_content
Hallo Christian, vielen lieben Dank für Deine Antwort. Ich versuch das umzusetzen, aber leider gelingt mir das nicht. Mein setup sieht folgendermaßen aus: lib.stdContent = FLUIDTEMPLATE lib.stdContent { layoutRootPaths { 10 = fileadmin/Resources/Private/Layouts/ } templateRootPaths { 10 = fileadmin/Resources/Private/Templates/ } variables { content0 < styles.content.get } } page = PAGE page { 10 < Fluidtemplate } im Templates Ordner ist das Textmedia.html mit entsprechender Defaultlayout-Angabe, aber Leider wird mir nur eine weiße Seite ausgegeben. Ich erkenne hier den Fehler nicht!? ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
[TYPO3-german] Re: Antw: Re: Antw: fluid_styled_content
Zum beispiel wie in deinem link... 20 sind deine eigenen templates, 40 kommt vom backend constanten editor (optional) Typo3 sucht dein template partial etc. Zuerst in 40, wenn es da nicht fündig wir, sucht es weiter in 20 und wenn da auch nix ist, sucht es in den originalem ordner pfad, der ist für gewohnich 10 oder 0... Die namen der dateien mussen exakt gleich sein wie vom original ausser du hast dein eigenes ganz neues partial, auf das du in einer anderen datei verweist. lib.contentElement { templateRootPaths { 20 = {$theme.urls.themeResources}Private/Extensions/fluid_styled_content/Resources/Private/Templates/ 40 = {$styles.templates.templateRootPath} } partialRootPaths { 20 = {$theme.urls.themeResources}Private/Extensions/fluid_styled_content/Resources/Private/Partials/ 40 = {$styles.templates.partialRootPath} } layoutRootPaths { 20 = {$theme.urls.themeResources}Private/Extensions/fluid_styled_content/Resources/Private/Layouts/ 40 = {$styles.templates.layoutRootPath} } } ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
[TYPO3-german] Re: Antw: Re: Antw: fluid_styled_content
Hallo Christian, danke für Deine Antwort. Ich habe in die Templates aus dem Dropdown-Menü ein-, bzw. zwei -Tags eingebunden, die jedoch nicht ausgegeben werden. Es wird also das TYÜO3 Default-Template ausgegeben. Wie kann ich TYPO3 konfigurieren, so dass im Dropdown-Menü die Templateauswahl erfolgt und ausgegeben wird? ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
[TYPO3-german] Re: Antw: Re: Antw: fluid_styled_content
Na du hast uns immer noch nicht gesagt ob dein template auch ausgegeben wird... schreib doch mal was in die html datei, das definitiv ausgegeben werden muss. Wenn nicht liegt der fehler nicht bei deinem template... ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
[TYPO3-german] Re: Antw: Re: Antw: fluid_styled_content
wird das auch als class ausgegeben? ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german