typo3-8.x

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 enable rte custom content element

梦想的初衷 提交于 2019-12-25 02:44:49
问题 how do I enable the Rich Text Editor for a custom content element in TYPO3 8.7? I tried $GLOBALS['TCA']['tt_content']['types']['myCustomElement'] = array('showitem' => '--palette--; LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xml:palette.general; general,header,subheader,header_link,bodytext, richtext:rte_transform[flag=rte_enabled|mode=ts_css],rte_enabled; image,--div--; LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xml:tabs.appearance,--palette--; LLL:EXT: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

TYPO3 Service Unavailable (503) standard error after installing existing project

心已入冬 提交于 2019-12-25 01:36:08
问题 I installed a copy of a TYPO3 project. So, I'm using an existing TYPO3 database. When running the home page of the site, I get the 'standard error': Service Unavailable (503) The page is not configured! [type=0][]. This means that there is no TypoScript object of type PAGE with typeNum=0 configured. More information regarding this error might be available online. which refers to following site: https://wiki.typo3.org/Exception/CMS/1294587217 But when I modify the setup of the template of the

How can I make a Condition in TypoScript for loading different JavaScript-Files to different Backend-Layouts? (TYPO3)

笑着哭i 提交于 2019-12-24 08:38:06
问题 After a "long way" with Google, Searching and many tries: I created a lib.variable for the current Page: lib.currentPage = TEXT lib.currentPage.data = page:uid If I debug it in my FluidTemplate in the Frontend with: Testing currentPage: <f:cObject typoscriptObjectPath="lib.currentPage" /> I got the correct value. Now I want to use that Variable in a Condition in my pageSetup.ts like follows: [DB:pages:lib.currentPage:backend_layout = pagets__pagelayout_logoclaim_subpage] page.includeJSFooter

TYPO3 Inline element appearance configuration partially does not work

隐身守侯 提交于 2019-12-23 06:13:22
问题 I have an own content element on my TCA/Overrides and i have some appearance settings configured. The problem is that i get these settings partially on my backend. This is my code: $projectOptions = array( 'ak_website' => [ 'exclude' => 1, 'label' => 'LLL:EXT:ak_website_base/Resources/Private/Language/locallang.xlf:website.items', 'config' => [ 'type' => 'inline', 'foreign_table' => 'ak_website', 'foreign_field' => 'tt_content', 'maxitems' => 999, 'appearance' => [ 'useSortable' => 1,

TYPO3 8.7 can not override Fluid Styled Content templates

只愿长相守 提交于 2019-12-21 04:42:17
问题 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

Typo3 8 How to properly customize felogin extension

孤人 提交于 2019-12-20 06:57:15
问题 I would like to customize felogin (frontend lofin) extension template. I would like to copy the template file inside of my template extension folder, but I don´t know how to change the path with TypoScript, so Typo3 can look first into the template file which is located inside of my extension template folder. Thanks in advance! Denis 回答1: The configuration is done like with every other extension: plugin.tx_felogin_pi1 { templateFile = EXT:your_extension/Resources/Private/Templates/Felogin

Make extension compatible for TYPO3 v8

痞子三分冷 提交于 2019-12-13 17:31:26
问题 I have a problem in TYPO3 v8.5.0 dev with own extensions. After creating a proper composer.json my classes are not found. Installation was done by copy into the typo3conf/ext folder as usual and activating in extension manager. Unfortunally the ext is not in TER, so this is the only way. After activating, i'm stuck with error: Oops, an error occurred! Class 'XXX\ExtKey...' not found What do I miss so my classes are found again? 回答1: If your extension is not installed with composer you have to