typo3

TYPO3 FluidTYPO3: Missed Flux Icons for Content Elements at TYPO3 Backend

大憨熊 提交于 2019-12-25 03:41:42
问题 Hi I'm using TYPO3 CMS 6.2.14 with FluidTYPO3 ( flux 7.2.2 , fluidcontent 4.3.2 and vhs 2.3.3 ). Since the last few TYPO3 installations my Icons for Fluidcontent-Elements are missing in Backend?! I've didn't change the path or sth. else. Here are my tries, nothing works: <flux:form id="fce6" icon="../typo3conf/ext/mytemplates/Resources/Public/Icons/Content/Icon.gif" wizardTab="FCE" options="{Fluidcontent: {sorting: 106}}"> ... <flux:form id="fce6" options="{Fluidcontent: {sorting: 105}, group

TYPO3 fal upload image with alt-text

别说谁变了你拦得住时间么 提交于 2019-12-25 02:57:52
问题 I can do uploads after following a few tutorials like this one: http://t3-developer.com/extbase-fluid/extensions-erweitern/fal-in-eigenen-extensions/fal-dateiupload-im-frontend/ But I miss two fields. When doing a FAL upload of a media file. How to add alternate and link ? 回答1: try look at this. Maybe it can help: https://forge.typo3.org/issues/56884 来源: https://stackoverflow.com/questions/31143009/typo3-fal-upload-image-with-alt-text

TYPO3 Database migration from fluidcontent to flux goes wrong

这一生的挚爱 提交于 2019-12-25 02:52:13
问题 i already tried to migrate everything with the help of this post: TYPO3 Database migration from fluidcontent to flux My problem now is, that i have container-templates wich all end up empty after changing the CType. Can anybody help? Regards, justcasper 回答1: I solved it. I had to update the colPos. Like: UPDATE `tt_content` SET colPos = ((tx_flux_parent * 100) + 0) WHERE tx_flux_column = "column"; 来源: https://stackoverflow.com/questions/55183681/typo3-database-migration-from-fluidcontent-to

TYPO3 crop image in fluid

夙愿已清 提交于 2019-12-25 02:33:21
问题 I have croped image in BE. And how to show croped image in the fluid? I have crope field: crop => '{"default":{"cropArea":{"height":0.24482758620689654,"width":0.4379310344827 586,"x":0,"y":0.5586206896551724},"selectedRatio":"16:9","focusArea":null}}' (151 chars) I tried in fluid: <f:image image="{file}" crop="{file.crop}" class="main-img"/> Thank a lot in advance! 回答1: As I know you dont need to tell the f:image ViewHelper anything about the cropping if you only use the default cropvariant.

TYPO3 - Fluid returns the string “array”

ぐ巨炮叔叔 提交于 2019-12-25 01:56:09
问题 I have this in my template: <v:iterator.explode content="<f:format.nl2br>{artnumbers.qualitynumber.certificates}</f:format.nl2br>" glue="<br />" as="expCertificates"> if artnumbers.qualitynumber.certificates is empty, it returns teh string "array". Is that a bug? 回答1: You are using the ViewHelper. This ViewHelper replaces newlines in a string (!) with tags. You cannot use it for an array and that's why it returns "array". I don't know why you need the explode viewHelper. Why don't you just

Render image in fluid template if it exists?

落花浮王杯 提交于 2019-12-25 01:53:04
问题 How can I use f:if to see if an image exists before trying to render it? I have tried the following without success: {f:if(condition: page.files.0, then: ' style="background-image:url({f:uri.image(image:page.files.0, width:300c, height:200c)}"')} <f:if condition="{page.files.0}"> style="background-image:url({f:uri.image(image:page.files.0, width:300c, height:200c)}" </f:if> It works if there is an image but breaks the element when there is not. 回答1: When I want to add an image url to the

Where is ExtBase reference material available?

纵然是瞬间 提交于 2019-12-25 01:49:51
问题 I am searching for a good source for understanding the userFunc = tx_extbase_core_bootstrap->run magic incantation. The seemingly autoritative documentation on forge (http://forge.typo3.org/projects/typo3v4-mvc/wiki/Documentation) starts off with non-functional links ("400 - Invalid action parameter" from git.typo3.org) and seems dated, pointing to articles with the newest date in late 2011. The API doc at http://typo3.org/api/typo3cms/class_t_y_p_o3_1_1_c_m_s_1_1_extbase_1_1_core_1_1

TYPO3: Reading the values of a TCA 'type' => 'check' (bitmask)

你离开我真会死。 提交于 2019-12-25 01:45:36
问题 I need to show a selection of days in an event in the frontend: in my TCA I set the field like this: 'days' => [ 'exclude' => true, 'label' => 'choose weekdays', 'config' => [ 'type' => 'check', 'eval' => 'required,unique', 'items' => [ ['monday',''], ['thuesday',''], ['wednesday',''], ['thursday',''], ['friday',''], ['saturday',''], ['sunday',''], ], 'cols' => 'inline', ], ], That stores an integer in the db, but now I have to display the selected days in a fluid template in the frontend.

TYPO3 ConnectionPool find a file after the uid of the file reference and update data

血红的双手。 提交于 2019-12-25 01:45:09
问题 The concept is that, after a successfull save of my object, it should update a text in the database (With a Hook). Lets call the field ' succText '. The table i would like to access is the sys_file but i only get the sys_file_reference id when i save the object. So i thought i could use the ConnectionPool to select the sys_file row of this file reference and then insert the data on the field ' succText '. I tried this: public function processDatamap_preProcessFieldArray(array &$fieldArray,

Use cropped image with fallback in TypoScript in TYPO3 8

爷,独闯天下 提交于 2019-12-25 01:45:02
问题 This TS code always produces a 600x400px image: 10 = FILES 10 { required = 1 references { table = tt_content fieldName = image } renderObj = IMAGE renderObj { wrap = <div class="teaser-image">|</div> file.import.data = file:current:originalUid // file:current:uid file.crop.data = file:current:crop file.width=600c file.height=400c } } If I remove file.width=600c file.height=400c then the cropped image from the crop wizard will be used. But I need both (it's an upgrade of an existing site): if