fluid

TYPO3 Database migration from fluidcontent to flux

拜拜、爱过 提交于 2019-12-08 19:49:34
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:form ? A colleague made a SQL statement, which converts all fluidcontent CTypes to the correct flux value

typo3 v.6 fluid template: getting Distribution.png (box with question mark) instead of wanted image

走远了吗. 提交于 2019-12-08 13:52:16
问题 I am getting Distribution.png (box with question mark) instead of wanted image while using fluid template, typo3 v6.0. This is my root template: config.no_cache = 1 config.doctype = html5 page = PAGE page.typeNum = 0 page.10 = FLUIDTEMPLATE page.10 { format = html file = fileadmin/templates/layouts/main.html partialRootPath = fileadmin/templates/partials/ layoutRootPath = fileadmin/templates/layouts/ variables { content < styles.content.get content.select.where = colPos = 0 content_left <

Typo3 fluid image from external resource

狂风中的少年 提交于 2019-12-08 12:45:41
问题 is it possible to resize images in fluid from external resource. I have an extension with datas from SOAP. So image URL looks like http://www.example.com/url/of/image/imagename.jpg . <f:image src="{data.url.image}" with="300" /> is not working. 回答1: Maybe an own ViewHelper which fetch the external image and save it to an temporary folder could help. After this you can modify the image. Something like this (not tested): <?php namespace MyNamespaece\MyExt\ViewHelpers; use TYPO3\CMS\Core\Utility

Typo3 extbase json output

做~自己de王妃 提交于 2019-12-08 04:12:22
问题 I try to create controller that handles ajax requests. I found out, that I have to add this to my TS config: ajaxCall = PAGE ajaxCall { typeNum = 999 config.disableAllHeaderCode = 1 config.metaCharset = UTF-8 xhtml_cleaning = 0 admPanel = 0 10 = COA 10 < tt_content.list.20.registration_userregistration } And my controller looks like this: /** * JSONController */ class JSONController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController { /** * @var string */ protected

Fluidtypo3 Flux - save in table field

喜夏-厌秋 提交于 2019-12-08 02:48:14
问题 I'm trying to develop a frontend extensions with typo3 - fluidcontent. Is it possible to use the bodytext field of the tt_content table instead of the flexform field? I would like to connect this text element with the tt_content.bodytext field. <flux:field.text name="bodytext" label="Content" /> 回答1: You can force Flux to save to the record itself, rather than the flexform field, by prefixing your field names with the name of the table that your form applies to . For example, since this

how to include public resources to typo3 extbase extension

你说的曾经没有我的故事 提交于 2019-12-07 18:23:42
问题 I'm building an extension that creates a backend module that enables be_users to resize images. I'm trying to add / include css and javascript files by using the pageRenderer but the files are never included I can only apply css if add it directly in the fluid Template using a style tag and include the javascript file with a script tag. I tried something like this in the controller protected $pageRenderer; .... $this->pageRenderer = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\

TYPO3 ver. 7.6.2 - Condition ViewHelpers evaluated only once

試著忘記壹切 提交于 2019-12-07 11:13:05
问题 Problem: I wrote a conditional VH (extending AbstractConditionViewHelper ) and it works as usually, anyway I realized that in non-cached version it is evaluated only once. Initialy I thought that's my bug, but checked common <f:if> and the problem is identical :S In general when I visit my page for the first time, condition is evaluated and valid result is given, but when I'll refresh the page VH isn't called anymore (checked by setting breakpoint inside the VH) and VH is always treated as

scale div to background image size

半腔热情 提交于 2019-12-06 20:59:36
I have an image that I need to put divs on top of for links. I did this fine when I initially created the website, but now I am tasked with making it responsive, so I can no longer use -top and left values to position the overlay divs because they don't move with the image. Trying to put the image as a background image so that the position of the overlays can be set and contained within the parent container. I have tried using the background size property (cover, contain, 100%), but they will not make the div show all 400px of its height. setting a max height, using auto, or 100% do not work

How to get TYPO3 settings in the utility files?

血红的双手。 提交于 2019-12-06 20:02:36
问题 plugin.tx_xxx { setting { storagePid = 23 } } I want this TYPO3 settings in utility file. Please help me. 回答1: The above method works only in controller or services class try below it will work in any PHP files in Extension. $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\Extbase\\Object\\ObjectManager'); $configurationManager = $objectManager->get('TYPO3\\CMS\\Extbase\\Configuration\\ConfigurationManager'); $extbaseFrameworkConfiguration =