typo3-7.6.x

How to get rendered links of a HTML element in TYPO3 7.6

旧巷老猫 提交于 2019-12-02 11:17:12
问题 IN TYPO3 versions before 7.6 it was possible to render links inside the content element HTML by using the TypoScript tt_content.html.parseFunc.tags.link < lib.parseFunc.tags.link This does not work anymore since 7.6. How can it be solved? 回答1: There are a couple of possible solutions for this question. 1.) Use fluid_styled_content. I guess that now fluid_styled_content instead of css_styled_content is used. Therefore the used TypoScript does not work anymore. A valid solution would be to

TYPO3 backend modul DataTable is no function

南笙酒味 提交于 2019-12-02 10:57:45
I including in my extbase backend modul different assets in the Layout html. To init multiple DataTables: $(dataTables[i]).DataTable(dataTableOptions); <f:be.container enableClickMenu="false" loadExtJs="false" enableExtJsDebug="true" > <script type="text/javascript" src="{f:uri.resource(path:'js/Backend/lib/jquery-1.11.3.min.js')}"></script> <script type="text/javascript" src="{f:uri.resource(path:'js/Backend/lib/jquery-ui.min.js')}"></script> <script type="text/javascript" src="{f:uri.resource(path:'js/Backend/lib/jquery.dataTables.min.js')}"></script> <script type="text/javascript" src="{f

TYPO3 TCA type select in FLUID?

こ雲淡風輕ζ 提交于 2019-12-02 06:57:58
问题 I use for the T3 Backend a TCA type select in a renderType = selectMultipleSideBySide Here the TCA Code: 'features' => array( 'label' => 'Zusatz', 'config' => array( 'type' => 'select', 'renderType' => 'selectMultipleSideBySide', 'size' => 10, 'minitems' => 0, 'maxitems' => 999, 'items' => array( array( 'Parkplätze', 'parking' ), array( 'Freies Wlan', 'wlan' ), ) ) ), it works fine in the Backend! But, how can I read the data properly now? I dont now the right way for the Domain/Model. /** *

TYPO3 TCA type select in FLUID?

☆樱花仙子☆ 提交于 2019-12-02 03:29:21
I use for the T3 Backend a TCA type select in a renderType = selectMultipleSideBySide Here the TCA Code: 'features' => array( 'label' => 'Zusatz', 'config' => array( 'type' => 'select', 'renderType' => 'selectMultipleSideBySide', 'size' => 10, 'minitems' => 0, 'maxitems' => 999, 'items' => array( array( 'Parkplätze', 'parking' ), array( 'Freies Wlan', 'wlan' ), ) ) ), it works fine in the Backend! But, how can I read the data properly now? I dont now the right way for the Domain/Model. /** * Features * * @var string */ protected $features = ''; /** * Returns the features * * @return string

TYPO3: SQL error: 'Incorrect integer value: '' for column 'sys_language_uid' at row 1'

元气小坏坏 提交于 2019-12-01 17:35:01
I have newly setup TYPO3, but when I try to add/save content, it gives me this error: SQL error: 'Incorrect integer value: '' for column 'sys_language_uid' at row 1 The behavior is related to database management systems using strict mode, like MySQL since version 5.7. Disabling strict mode (like provided in the accepted answer) is just a work around. The real solution would be to explicitly cast values to integer by modifying TCA (table configuration array) for the according field definitions. for fields of type input that would be setting/extending 'eval' => 'int' , see example tt_content

TYPO3: SQL error: 'Incorrect integer value: '' for column 'sys_language_uid' at row 1'

☆樱花仙子☆ 提交于 2019-12-01 16:59:17
问题 I have newly setup TYPO3, but when I try to add/save content, it gives me this error: SQL error: 'Incorrect integer value: '' for column 'sys_language_uid' at row 1 回答1: The behavior is related to database management systems using strict mode, like MySQL since version 5.7. Disabling strict mode (like provided in the accepted answer) is just a work around. The real solution would be to explicitly cast values to integer by modifying TCA (table configuration array) for the according field

Uncaught TypeError: jQuery(…).tablesorter is not a function

喜你入骨 提交于 2019-12-01 13:18:24
问题 I have a typo3 plugin hat works fine in typo3 6.2.31 now I migrate to 7.6.23. I have several problems with jQuery libraries. I often got this error: Uncaught TypeError: jQuery(...).tablesorter is not a function Or Uncaught TypeError: $(...).tablesorter is not a function The library is loaded correctly. Is there a way to fix this issue? Thanks. 回答1: Check that there is a loaded tablesorter plugin first before the tyop3 plugin, sounds like ideal sort order would be: jQuery library Tablesorter

TYPO3 TCA execute hook after object save in backend

旧街凉风 提交于 2019-12-01 07:12:02
问题 I want to manipulate some values and execute a custom function if an object is saved trought the backend. I found trought my google search that I have to specify this in my ext_localconfphp : $GLOBALS ['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['extkey'] = 'Vendor\\Extension\\Hook\\TCEmainHook'; $GLOBALS ['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['extkey'] = 'Vendor\\Extension\\Hook\\TCEmainHook';