typo3-7.6.x

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

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

How can I get the category object in Fluid of Typo3 Content Element Pictures?

陌路散爱 提交于 2019-12-21 20:35:21
问题 after a long time of Google, I can get the categories of FAL Objects in Typo3 7.6 Fluid. But I can only return a String. I want to get an object like {data}. What I do: TypoScript lib.category = CONTENT lib.category { table=sys_category wrap=| select { pidInList = root,0,1 recursive = 99 max=10 selectFields=sys_category.title,sys_category.uid join = sys_category_record_mm on sys_category_record_mm.uid_local = sys_category.uid join sys_file_metadata on sys_file_metadata.uid = sys_category

How to access properties of a FileReference Object in fluid

自古美人都是妖i 提交于 2019-12-21 09:32:53
问题 Below you see the debug for an object of type FileReference in fluid. In fluid the debug looks like this: <f:debug>{fileReference}</f:debug> The question is how do I access the properties highlighted in green, being width , height , and hovertext . The original file is an image, so width & height are default T3 properties, hovertext has been added by my extension with it's own getter/setter. I tried the following: {fileReference.width} {fileReference.mergedProperties.width} {fileReference

TYPO3: Add special menu CE and add class=“active”

独自空忆成欢 提交于 2019-12-13 23:25:48
问题 In TYPO3 one can insert a special menu as a content element, you can select about eight different ways to collect the menu. In the menu I selected there is no class assigned if the menu item is active, and I need to highlight it with CSS. And I'd like to know how to add a custom menu. Note: Once I did apply the solution supplied in my own answer I realized that the main difficulty was (and generally is in TYPO3) the caching, be aware to refresh frequently otherwise you'll never be sure what

typoscript: do not show submenu if certain backend_layout is selected

陌路散爱 提交于 2019-12-13 06:33:12
问题 I made a special panning sub menu with icons which can be inserted choosing a specific backend_layout named pagets__panmenu , if that layout is selected the main menu should not display a sub menu and link to the page instead of opening a sub ... I work with typo3 V7.6.11 and fluid styled content The part reading the value works correctly: NO = 1 NO { before.cObject = LOAD_REGISTER before.cObject{ panmenu.cObject = TEXT panmenu.cObject.data.dataWrap = DB:pages:{field:uid}:backend_layout }

TYPO3 FAL : add and read a custom field in a fluid template

若如初见. 提交于 2019-12-13 03:54:18
问题 In my custom extension I introduced a binary variable to the image metadata that needs to be read, similar to the "Show in list view" of tx_news. With tx_news as example I was able to add the variable, the new palette shows the checkbox in the backend and the selection is registered in a new database field in the sys_file_reference table ... I first tried to declare it in the domain which did work but I could not use the variable since it was an array of the same files in which I tried to use

TYPO3 uses crop images how can I avoid this

人盡茶涼 提交于 2019-12-13 03:14:35
问题 I use the ws_Flexslider plugin for display a slider on my TYPO3 page. Problem is that the plugin uses croped pictures. Is it possible to use non croped pictures? thanks in advance. 回答1: In Entry.html partial you have this line which renders your image : <f:image src="{item.falImage.uid}" treatIdAsReference="1" title="{item.falImage.originalResource.title}" alt="{item.falImage.originalResource.alternative}" width="{settings.maxwidth}" height="{settings.maxheight}" /> You can set the settings

Pass content from TypoScript to fluid template in TYPO3 7.6

≡放荡痞女 提交于 2019-12-12 20:18:50
问题 I would like to read content via TypoScript and render it through a custom Fluid template. Without css_styled_content or fluid_styled_content. temp.test = CONTENT temp.test { table = tt_content select.languageField = 1 select.selectFields = bodytext,image,header,header_link select.where = colPos = 1 renderObj = FLUIDTEMPLATE renderObj { file = path/to/Teaser.html } } This works with strings, say <f:debug>{data.header}</f:debug> But not with <f:debug>{data.image}</f:debug> returning only the

TYPO3: Set more than one storage pid for one extension

半世苍凉 提交于 2019-12-12 12:12:36
问题 I builded an extension that has a 'details' table that holds details with a title and a description that be included inline to another object. Right now new details are stored in the same pid as the object, but I'd like to change that. this question was answered by Merec and in the comments he points to a solution (add the column "pid" to your model, this is the first the model looks at) but asked to formulate a separate question for it ... I took his suggestion but could not get it to work,