extbase

TYPO3 Form send via JQuery.submit()

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-24 12:02:59
问题 I have an typo3 form (action="update") which should be sended via jquery. Form looks like this: <f:form action="update" name="note" object="{note}"> <textarea class="form-control gettooltip" rows="1" placeholder="Kommentar" title="Kommentar zur Note">{note.kommentar}</textarea> </f:form> 回答1: Just to warn you to not follow our team way, when you try to use some custom AJAX dispatcher, then switch to different pageType, after that to eID or whatever. My recommended way to do AJAX calls within

TYPO3 Form send via JQuery.submit()

白昼怎懂夜的黑 提交于 2020-01-24 12:02:07
问题 I have an typo3 form (action="update") which should be sended via jquery. Form looks like this: <f:form action="update" name="note" object="{note}"> <textarea class="form-control gettooltip" rows="1" placeholder="Kommentar" title="Kommentar zur Note">{note.kommentar}</textarea> </f:form> 回答1: Just to warn you to not follow our team way, when you try to use some custom AJAX dispatcher, then switch to different pageType, after that to eID or whatever. My recommended way to do AJAX calls within

Typo3 Extbase AJAX without page typenum

≡放荡痞女 提交于 2020-01-20 02:25:26
问题 Is there any way to create AJAX calls in Extbase extension without using of page typeNum? 回答1: Edit: Helmut Hummel, a member of the TYPO3 CMS team, measured that using EID with Extbase is slower than using the typeNum approach. But since the typeNum approach is cumbersome to configure, there is a third way developed by him. The extension typoscript_rendering provides a way to call Extbase actions directly without additional configuration. It contains a ViewHelper that generates such links and

How mix Month view and List view in same page with Calendar Base extension in TYPO3 7.6.14

不问归期 提交于 2020-01-06 21:05:34
问题 I have been seeing the code of Calendar Base but I have not understood the way as work markers and its functionality in the code. I want to know if is possible to create a mini calendar and in the moment that I click one day with events show below them the list. Please guide me what is the way to resolve it, not give me a code. 回答1: There are a lot of possible configurations for EXT:cal. I will only give the minimum required configurations for EXT:cal version 1.10.3 in TYPO3 CMS 7.6 as I used

How mix Month view and List view in same page with Calendar Base extension in TYPO3 7.6.14

一个人想着一个人 提交于 2020-01-06 21:02:13
问题 I have been seeing the code of Calendar Base but I have not understood the way as work markers and its functionality in the code. I want to know if is possible to create a mini calendar and in the moment that I click one day with events show below them the list. Please guide me what is the way to resolve it, not give me a code. 回答1: There are a lot of possible configurations for EXT:cal. I will only give the minimum required configurations for EXT:cal version 1.10.3 in TYPO3 CMS 7.6 as I used

Correct frontend mapping of TCA 'type'=>'check'

ぐ巨炮叔叔 提交于 2020-01-05 03:45:21
问题 I currently implement a user right object in TYPO3 7/Extbase. Different rights are mapped as bits of an INT as per (simplified): 'permissions' => array( 'label' => 'permissions' 'config' => array( 'type' => 'check', 'items' => array( array('Permission 1', ''), array('Permission 2', '') ) ) ), Modification of this in the Backend works flawlessly and the flags are correctly stored as their corresponding bits in he DB. How can I achieve similar behaviour in the frontend? Is there a (correct) way

Correct frontend mapping of TCA 'type'=>'check'

霸气de小男生 提交于 2020-01-05 03:44:04
问题 I currently implement a user right object in TYPO3 7/Extbase. Different rights are mapped as bits of an INT as per (simplified): 'permissions' => array( 'label' => 'permissions' 'config' => array( 'type' => 'check', 'items' => array( array('Permission 1', ''), array('Permission 2', '') ) ) ), Modification of this in the Backend works flawlessly and the flags are correctly stored as their corresponding bits in he DB. How can I achieve similar behaviour in the frontend? Is there a (correct) way

The default controller for extension and plugin can not be determined

送分小仙女□ 提交于 2020-01-04 17:33:11
问题 Good afternoon, dear friends! All, I give up. Tried well, all that was already possible. TYPO3 7.6.16 ext_tables.php: <?php if (!defined('TYPO3_MODE')) die ('Access denied.'); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin( 'MyVendor.' . $_EXTKEY, 'Pi1', 'The inventory list' ); ext_localconf.php: <?php if (!defined('TYPO3_MODE')) die ('Access denied.'); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'MyVendor.' . $_EXTKEY, 'Pi1', Array ('Comment' => 'list'), Array

Extbase TYPO3 upload image for front end user

≡放荡痞女 提交于 2020-01-04 04:42:12
问题 I am making a plugin with Extbase. My Responsitory got image upload and i want front end user can upload image. When i check the FormFields.html from Partials, the field image upload was empty with simple text: "File upload is not implemented!". I tried to use <f:form.upload property="logo" name="file" /><br /> but after submit the form, i got the error message: "Exception while property mapping at property path "logo": Property "name" was not found in target object of type "TYPO3\CMS\Extbase

TYPO3 Extbase: persisting domain model with datetime property

我怕爱的太早我们不能终老 提交于 2020-01-02 21:48:06
问题 I am really stuck here (maybe the sickness is not helping...). Setting: - typo3 6.2 with according extbase and fluid - checked about 20 blog entries, the official docu, and a few code snippets I found - Senior on developing TYPO3, but relatively new to extbase/fluid Goal: As many of you, I try to realize a form in the frontend to create a new object. This object contains some datetime properties. Symptoms: - I can create an object in the backend and correctly output it with fluid creating