typo3

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 {

What are the lowest possible permissions for TYPO3?

浪子不回头ぞ 提交于 2019-12-03 21:47:43
Currently I'm using 0750 for directories and 0640 for files. Is it possible to lower these permissions? I know this depends on the setup of the hoster (FTP/PHP/Apache user in same group?). But what is possible? Which permission Typo3 really needs for running correctly? According to install tool the following folders should be writable: fileadmin fileadmin/_temp_ typo3 typo3conf typo3conf/ext typo3conf/l10n typo3temp uploads uploads/media uploads/pics uploads/tf There is no need for write permissions on typo3/. This is only needed, if you want to install an system extension (what you should not

Translation of content elements in tx_news shows default language

社会主义新天地 提交于 2019-12-03 20:36:58
Environment: TYPO3: 8LTS News: 6.3.0 (also checked with 7.x) News List View (Page) is translated News Detail View (Page) is translated News Record translated Problem: When i visit the page on language UID 1 the news record itself is translated (For example headline ). In the Detail view we render the content element. This is always shown in the default language The Problem could be fixed by switching sys_language_overlay from 0 to 1 config { sys_language_mode = content_fallback sys_language_overlay = 1 } To prevent that the content elements are hidden by default you could also set TCEMAIN

Send TYPO3 EXT:powermail mail to different receivers depending on selection in a dropdown

只谈情不闲聊 提交于 2019-12-03 20:21:38
I often have the requirement to send a powermail-form to different receivers depending on a selection of a selectfield within the form. Im using TYPO3 7.6.x and Powermail 3.3.0 How can this be done? randomresult With the help of @alex-kellner in the slackchannel of EXT:powermail i found a quite easy solution for that: Basically there are 2 Steps needed: Step1 Values for the Options in the select field. You need to add values to your option in the select field. This can be done by appending a pipe | to your option and simply add the value MyRecieverEmail 1 | 1 MyRecieverEmail 2 | 2

How to debug a query in extbase?

青春壹個敷衍的年華 提交于 2019-12-03 17:57:37
问题 $query = $this->createQuery(); return $query->matching($query->like('linker', "$linkerKey=$linkerValue")) ->setOrderings(array('crdate' => $ordering)) ->execute(); How can i debug such a generated query in extbase? When creating the same query again (but without the execute() ) and trying to display it with var_dump or the internal t3lib_div::debug i just receive a blank page. 回答1: $query = $this->createQuery(); $result = $query->matching($query->like('linker', "$linkerKey=$linkerValue")) -

How do I include or autoload external libraries in a TYPO3 Extbase Extension? + Dependecy Injection?

本小妞迷上赌 提交于 2019-12-03 17:41:32
I'm developing a TYPO3 4.6 Extension with Extbase 1.4 and im trying to include an external library. The library, in my case the facebook PHP SDK , is under $_EXTKEY/Resources/PHP/facebook-php-sdk/facebook.php . I would like the library to autoload and automatically inject (Dependecy Injection) where I need it. Some comments I found online suggest that one should include libraries with require_once(): http://forge.typo3.org/issues/33142 if it's just a tiny helper library, it's intended to be stored in {PackageRoot}/Resources/PHP/{libraryName} and just included via require. is this suspected by

PHP OpenSSL extension not working while install Typo3 6.2.2 on window7

你。 提交于 2019-12-03 15:57:53
问题 I've installed Typo3 6.2.2 on window7 but I got an error message as below: PHP OpenSSL extension not working Something went wrong while trying to create a new private key for testing. Please check the integration of the PHP OpenSSL extension and if it is installed correctly. I try to find the solution on the internet about this error but I can not solve this bug. Anyone know, can you help me to find the solution please? Thanks. 回答1: Solution that worked for me on XAMPP and Windows Vista:

TYPO3 8.7 can not override Fluid Styled Content templates

倾然丶 夕夏残阳落幕 提交于 2019-12-03 15:56:23
I've tried to override the Fluid Styled Content elements but it doesn't work at all in latest TYPO3 version 8.7.0. I've got a template extension (key: biv_main) in which I add my overriding template pathes: lib { fluidContent { templateRootPaths { 30 = EXT:biv_main/Resources/Private/Content/fluid_styled_content/Templates/ } partialRootPaths { 30 = EXT:biv_main/Resources/Private/Content/fluid_styled_content/Partials/ } layoutRootPaths { 30 = EXT:biv_main/Resources/Private/Content/fluid_styled_content/Layouts/ } } } The TypoScript in the Backend via TS Object Browser looks correct to me:

“Oops, an error occurred! Code: 201601301501048..” in TYPO3 7.6

ぐ巨炮叔叔 提交于 2019-12-03 13:58:30
I installed the Typo3 version 7.6 and After adding extension to my page i got the error "Oops, an error occurred! Code: 201512031647523f4d731f". I am not getting meaning of this error and i also enable 'displayErrors' => 1, in local configuration but still not get meaningful error. You need to switch off the "Content Object Exception Handler", which is an exception handler in new versions. If a content element/plugin throws an exception, it does no longer take down the whole site, but only itself. To disable it, set config.contentObjectExceptionHandler = 0 Reference Don't forget to re-enable