typoscript

How can I make a Condition in TypoScript for loading different JavaScript-Files to different Backend-Layouts? (TYPO3)

笑着哭i 提交于 2019-12-24 08:38:06
问题 After a "long way" with Google, Searching and many tries: I created a lib.variable for the current Page: lib.currentPage = TEXT lib.currentPage.data = page:uid If I debug it in my FluidTemplate in the Frontend with: Testing currentPage: <f:cObject typoscriptObjectPath="lib.currentPage" /> I got the correct value. Now I want to use that Variable in a Condition in my pageSetup.ts like follows: [DB:pages:lib.currentPage:backend_layout = pagets__pagelayout_logoclaim_subpage] page.includeJSFooter

Load register inside TMENU

别来无恙 提交于 2019-12-24 07:45:59
问题 In a TYPO3 HMENU, the second level TMENU should reproduce the abstract of the first level page. I do manage to fill the register with a value and use it in the second level TMENU - but I am unable to load the field's content into the register. So field = abstract as well as value = {field:abstract} value.insertData = 1 don't produce any output. How can that register be filled with the parent page's abstract? Here's the full code. temp.main_nav = HMENU temp.main_nav { wrap = <nav id="cbp

How to access the ext_conf_template.txt (extension configuration) in typoscript?

旧街凉风 提交于 2019-12-24 06:35:20
问题 There are a few settings in the ext_conf_template.txt in my extension. I want to check the value of one of these settings, but in typoscript , not in PHP. In PHP it works like this: unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['myExt']) How should I do this in typoscript? 回答1: I did something similar in my code snippet extension (see complete code on Github), where I just added a custom TypoScript condition: [DanielGoerz\FsCodeSnippet\Configuration\TypoScript\ConditionMatching

How to edit this Typo3 menu?

给你一囗甜甜゛ 提交于 2019-12-24 01:59:41
问题 I have a one page sample site using the bootstrap_package / Introduction package for Typo3 version 7.6.10. The problem is I am a complete newbie to Typo3 and need help converting the navigation menu. I want them to be anchors to sections in the page. In more detail, From what I see in the backend, there is no (editable) menu; all of the navigation links on the front are coming from the pages that I create in the backend. Is there a way to override this function? Just to be clear, I checked

TYPO3 – TypoScript auto-complete in backend

廉价感情. 提交于 2019-12-24 01:33:29
问题 It's just a simple question but couldn't find any helpful solution or hints...I have the current TYPO3 version and watched some videos on YouTube about it and wondered why I have no autocomplete when writing some TypoScript. I saw it in this video: https://www.youtube.com/watch?v=ZCSIK3lFfwM&list=PL1D69sw7eWECaiqIOLhcSnjgTTjLJdd4I&index=5 at 03:45 Is it possible to do it in the newest version or do I have to use an IDE? 回答1: First install the extension ts3editor. Then you can "activate" auto

TYPO3 – TypoScript auto-complete in backend

断了今生、忘了曾经 提交于 2019-12-24 01:32:47
问题 It's just a simple question but couldn't find any helpful solution or hints...I have the current TYPO3 version and watched some videos on YouTube about it and wondered why I have no autocomplete when writing some TypoScript. I saw it in this video: https://www.youtube.com/watch?v=ZCSIK3lFfwM&list=PL1D69sw7eWECaiqIOLhcSnjgTTjLJdd4I&index=5 at 03:45 Is it possible to do it in the newest version or do I have to use an IDE? 回答1: First install the extension ts3editor. Then you can "activate" auto

Nothing appears in Typo3 with powermail (Frontend)

淺唱寂寞╮ 提交于 2019-12-24 00:15:05
问题 I need help with powermail. I'm using Typo3 6.2.4 and powermail 2.0.16. Something is wrong cause nothing appear in the frontend, but I don't what and I need some helps. I created a new root page with the basic template "HELLO WORLD!" (ID = 15). # Default PAGE object: page = PAGE page.10 = TEXT page.10.value = HELLO WORLD! In this template, I included two statics templates : "Main Template (powermail)" and "Add basic CSS (powermail)" After that, in the root page, I created the folder

How can I apply a different wrap to every menu item?

余生颓废 提交于 2019-12-23 18:42:28
问题 I was trying to create a custom menu in TypoScript and my idea is to have a div for each menu item. Example lib.mainMenu = HMENU lib.mainMenu { entryLevel = 0 1 = TMENU 1 { NO.allWrap = <div id="forsideknap">|</div> |*| <div id="butikker">|</div> |*| <div id="nyheder">|</div> |*| <div id="arrangementer">|</div> |*| <div id="avis">|</div> } } I have created 5 pages, and only 3 of them are getting their div . There are 3 identical. How can I fix this problem? 回答1: You are using the optionSplit

MaxGalleryWidth for fluid_styled_content

自古美人都是妖i 提交于 2019-12-23 03:47:13
问题 I tried to change the MaxGalleryWidth in fluid_styled_content for an specific column. First I tried how I do this before fluid_styled_content: lib.contentRight = COA lib.contentRight { 10 = LOAD_REGISTER 10 { maxImageWidth = 205 maxImageWidthInText = 60 } 20 < styles.content.get 20 { select { where = colPos=1 } slide = -1 } 90 = RESTORE_REGISTER } Also using maxGalleryWidth in LOAD_REGISTER has no effect. This doesn't work for me. Than I tried to set the maxGalleryWidth Parameter for the

TYPO3 blog posts in one page

好久不见. 提交于 2019-12-23 03:20:51
问题 I am quite new to TYPO3 and i am trying to build something which i am not sure how to do! I have installed the T3G/blog extension. On my website i have a "Blog" page, where i would like to show the blog posts like this (for each post): Post Title Post Date Full Post Content Post Author I imagine i have to use a for loop to go through the blog posts available, but i can't find a way to make it work. Right now i have something like this: <div class="blog__content__left"> <f:debug>{_all}</f