fluid

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

萝らか妹 提交于 2019-12-04 14:26:49
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_record_mm.uid_foreign join sys_file_reference on sys_file_reference.uid_local = sys_file_metadata.file

Simple div with header,footer and body

烈酒焚心 提交于 2019-12-04 13:58:14
I need a simple div with header,footer and body content. The header and footer needs to be fixed and the height of div should be 250px or max 500px and its width is 500px And my body content should be fluid so that it should extend the content. Header and footer needs to be 40px. And I need a horizontal line after header and above footer. I have done it but I am unable to set its footer as I am going nuts with the alignment. Can anyone suggest me with this: CSS: mainbody { position:absolute; Left:35%; top:20%; display:none; height:250px; width:500px; margin-top: 0; border:1px solid #fff; box

Adding configuration fields to a typo3 page with fluid / flux

扶醉桌前 提交于 2019-12-04 05:28:42
问题 I have setup a site to use flux / FLUIDCONTENT for templates and have it working using the tutorial here: http://thomas.deuling.org/2011/06/create-base-html-fluid-templates-for-typo3-4-5/ It's all working well but now I want to be able to choose an image per page and use it to build a big header. With templavoila I could create fields that were available in the page properties but can't seem to get it working with FLUIDCONTENT. I am using Typo3 6.1 and here is my inside page flex template:

TYPO3 Database migration from fluidcontent to flux

情到浓时终转凉″ 提交于 2019-12-04 02:22:03
问题 I want to switch from fluidcontent to flux by removing the obsolete fluidcontent. As mentioned in here https://github.com/FluidTYPO3/fluidcontent/issues/424, you have to change the CType for all fluidcontent objects in the tt_content table from fluidcontent_content to extensionnamewithoutunderscores_templatenamewithoutunderscores . Is there a migration script or a SQL statement available for this? The tablename without Undescores is the filename. Why and where do i need the id of the flux

Adding the page content to a fluid template

醉酒当歌 提交于 2019-12-03 22:45:30
I'm new to TYPO3 and Fluid and trying to display the page content using a Fluid template similar to the following one: <div id="content"> <f:format.html>{content}</f:format.html> </div> The page data is entered via the backend using a two-column layout ( colPos=0, colPos=1 ). I am now trying to display the content of the first column ( colPos=0 ) inside the div. At the moment, my TYPO-Script looks like the following: page = PAGE page { # ... 5 = FLUIDTEMPLATE 5 { file = fileadmin/templates/default.html # ... variables { pageTitle = TEXT pageTitle.data = page:title content = CONTENT content {

C# ListView Tile Width 100%?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 19:41:53
i have a ListView set to Tileview. The ListView width is 300 and so is the tile width. This works fine when the number of tiles does not overflow resulting in a scrollbar. When it does overflow however, when the vertical scrollbar appears, a horizontal scrollbar also appears because the vertical scrollbar lowers the listview width for the tiles. Is there a way i can have the tiles autoresize to fill the listview? See example image: What currently happens: What i want to happen: I tried setting the width to 100% but that doesnt work. Any ideas? There is no direct way to detect that the

EM's for line-height

风流意气都作罢 提交于 2019-12-03 17:55:52
问题 I would like to convert my new website from pixels to ems. My question is, should I also apply ems to my text line-height property? 回答1: Assuming that “converting to ems” means using the em unit for font-size , then you should set line-height in a manner that also adapts to the font size. The two properties are closely related, and if you set one of them in em and the other (e.g.) in px or pt , then the page will break if the font size is changed. So it would work against the very idea of

Responsive 2-column CSS layout including sidebar with fixed width?

痴心易碎 提交于 2019-12-03 15:01:17
问题 Cannot find a solution for this (what I'm guessing must be a pretty common problem) anywhere. I am creating a responsive design with a sidebar, where the sidebar needs to have a fixed width of 200px and has unknown height. How can I make it so the main content area takes up all the remaining width, without anything misbehaving. The closest I've come to it is the following, but the problem with it is that the sidebar can overlap the footer. Can anyone suggest a fix for my code, or share with

Responsive 2-column CSS layout including sidebar with fixed width?

我的梦境 提交于 2019-12-03 04:49:47
Cannot find a solution for this (what I'm guessing must be a pretty common problem) anywhere. I am creating a responsive design with a sidebar, where the sidebar needs to have a fixed width of 200px and has unknown height. How can I make it so the main content area takes up all the remaining width, without anything misbehaving. The closest I've come to it is the following, but the problem with it is that the sidebar can overlap the footer. Can anyone suggest a fix for my code, or share with me some code that works? * { padding: 0; margin: 0; outline: 0; -moz-box-sizing: content-box; -webkit

TYPO3 groupedFor viewhelper according to dates

China☆狼群 提交于 2019-12-02 17:41:32
问题 I have a simple model "item" with 3 properties: title, description, date Now I want to have a list like this: 10.10.17: title item 1 title item 5 12.10.17: title item 8 and so on According to groupedFor - grouping objects according to dates I added a getter like /** * Get day month year of datetime * * @return int */ public function getDayMonthYearOfDatetime() { return (int)$this->datum->format('dmy'); } My list view: <f:groupedFor each="{items}" as="dayMonthYearOfDatetime" groupBy=