fluid

in a TYPO3 6.1 fluid template, how to parse values from a select box?

半城伤御伤魂 提交于 2019-12-11 11:38:13
问题 I have built a small extbase extension with the extension builder in TYPO3 6.1. One field is set up as "select". The extension builder set that up in the database as an int(11) field. Values for that field are stored as 0,1 In the Backend, the labels can be configured in the TCA for each value. But is there a simple way to do that for the fluid template as well? I came around an "if" condition, but that can't be it, can it? <f:if condition="{item.typ} == 0"><f:translate key="tx

Fluid, flexible and scalable tiles to fill entire width of viewport

痞子三分冷 提交于 2019-12-11 09:14:46
问题 I am trying to create fluid and flexible "tiles" for a website, that span across 100% of the viewport of the browser. However, I would like them to scale a bit if needed to eliminate all white space if a the next tile doesn't fit. A normal div tag with a min-width & min-height of 200px, set to "display: inline-block" gets me most of the way. As I expand the browser window, the boxes will move up to the top line if there is room for another. My problem is when there isn't room for the next div

TYPO3: disable cache for specific plugin / extension

安稳与你 提交于 2019-12-11 07:40:03
问题 I built an extension and a plugin where frontend-users can edit their profile but I noticed a critical issue: Under "Edit profile", users could see the full information about another user who wasn't even logged in. Apparently the form was a cached on the server because after adding: config.no_cache = 1 it didn't happen again. Now the issue is that indexing is disable on the whole website. Is there a way to disable caching only for this specific extension / plugin ? 回答1: You should have

Fluid Powered TYPO3 FLUX Fluidcontent - No Output in Frontend?

瘦欲@ 提交于 2019-12-11 03:38:32
问题 I've made a TYPO3-Installation 6.2.9 with Fluid powered TYPO3 - the first steps with the Pre-configured Distribution "Site" were fine. My Site/Page-Template is installed and I added all the TypoScript stuff. Now I want to use FLUIDCONTENT (FCE) with FLUX. I've added a new Template-File TeaserOne.html and I try to use the Layout from the Distribution Content.html . Now I can see and write into my input-fields in Backend, but I've no Output in Frontend?! What else do I need? I only see the

TYPO3: Count up inside Fluid

旧城冷巷雨未停 提交于 2019-12-11 01:48:53
问题 I'm currently trying to build a carousel with bootstrap in the frontend. Generating the slides works great. <f:if condition="{gallery.rows}"> <f:for each="{gallery.rows}" as="row"> <f:for each="{row.columns}" as="column"> <f:if condition="{column.media}"> <div class="item"> <f:media file="{column.media}" width="{column.dimensions.width}" height="{column.dimensions.height}" alt="{column.media.alternative}" title="{column.media.title}" /> <div class="carouselText"> <div class="container"> <h1>

How to properly output DateTime with TYPO3 extbase fluid

本小妞迷上赌 提交于 2019-12-10 19:10:55
问题 I got two dateTime Objects stored in the Database: 2014-11-03 09:00:00 2014-10-21 13:45:00 When i try to output them with the ViewHelper format.date <f:format.date format="H:i">{termin.datumBeginn}</f:format.date> I get the following results: 10:00 15:45 So i got a one hour shift and a two hour shift which i can't write a workaround for. How do i set the timezones properly to have a clean output? 回答1: Although this is very old, I want to highlight that this was a bug in Extbase until recently

Fixed - Liquid - Fixed Layout

给你一囗甜甜゛ 提交于 2019-12-10 18:15:42
问题 I'd like to have a [Fixed][Liquid][Fixed] cross-browser compatible layout. HTML: body div#col-1 div#col-2 div#col-3 CSS: #col-1 { width:150px; float:left; } #col-2 { width:100%; padding:0 150x; } #col-3 { positon:absolute: right:0; width:150px; } Would this work/better way to do it? 回答1: This is pretty simple. here is the code <html> <head> <style type="text/css"> #left { float: left; width: 150px; border: 1px solid black; background-color: #999; height: 50px; } #right { float: right; width:

TYPO3: get path out of file reference in Extbase

Deadly 提交于 2019-12-10 16:43:54
问题 i've created a Custom Content Element with Fluid and Extbase (TYPO3 6.1), in which you can define a picture. In the picture-settings i can set a img-link, which is targetting a file. In my Controller i can access this data with $this->configurationManager->getContentObject(); But i just get a file-reference for this setting and no path. like this: file:1206 I've googled a lot and i didn't find a solution to access the path. Has anybody a solution or knows maybe a function in the

TYPO3: No template was found. View could not be resolved for action

て烟熏妆下的殇ゞ 提交于 2019-12-10 15:45:44
问题 I'm experimenting a bit with TYPO3 backend modules and I'm trying to get a view when I click my module in the left menu in the backend. However when I click this I get the following message: Sorry, the requested view was not found. The technical reason is: No template was found. View could not be resolved for action "list" in class "MyVendor\MyModule\Controller\ConnectionController". I have the view for the list action in the folder Resources/Private/Backend/Templates/Connection and the file

Typo3 Fluid Image crop of with and height failure

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-10 00:00:54
问题 Using this code: <f:image src="/uploads/extkey/{image}" alt="" width="115c" height="70c" /> Produces following HTML output: <img src="typo3temp/_processed_/csm_testimage_31f6051846.gif" width="115" height="92" alt=""> The image has a wrong height now and there are white bars at top and bottom. I figured out that "92" comes from its proportion (original image is: 1280 × 1024). I guess if the white bars at top and bottom are cut out the height of 70 will be reached. Any ideas why Typo3 is doing