extbase

How to add Tooltips to a Flexform Plugin Configuration?

时光毁灭记忆、已成空白 提交于 2020-01-02 04:38:27
问题 I guess its quite Simple as soon as you know it once, but I am searching on this Topic now for 4+ Hours. So maybe someone can help me out, with a push to the right direction. I develop an Extension for TYPO3 6.2 with Extbase. The Plugin Configuration is done with a FlexForm. To increase Usabillity I want to add Tooltips (helptexts or CSH) to my FlexForm. Approach 1: I tryed it with the Tag <cshFile> and adding the corresponding XML to the Extension Files. As many Forums and Blogs suggest,

Mapping to “pages” table from Extbase in TYPO3 6.1

被刻印的时光 ゝ 提交于 2019-12-30 19:17:31
问题 I created an extension with a domain model Message . This model has a relation m:n with the TYPO3 pages (the one which has the details of the pages, like title, issite_root etc) table. However, by using the mapping to existing tables option, it gives me type error saying page : The configured type field for table "pages" is of type int(11) unsigned This means the type field can not be used for defining the record type. You have to configure the mappings yourself if you want to map to this

Display list of elements grouped by year and by month in TYPO3 Fluid

老子叫甜甜 提交于 2019-12-29 02:11:07
问题 I have a model where one field is a date. I want to display elements from that model, grouped by year and by month, like this: == 2013 == === April === * Element 1 * Element 2 === March === * Element 3 ... == 2012 == ... What if the best way to achieve that? Should I build a nested array directly in the Controler? Or is there a way to display the year and month headers only using Fluid template? Or should I write a custom ViewHelper to extract and display the year and month headers? 回答1:

Typo3 Error: The ColumnMap for property is missing

送分小仙女□ 提交于 2019-12-25 12:09:31
问题 I'm using Typo3 version 8.7.8 and I'm developing an extention. The two tables "auftrag" and "verstorbener" are connectet with a 1:n relation. I try to search for a field in the table "verstorbener" in the repository of "auftrag". The relation of both is necessary. If I try to execute the following query I get the error "The ColumnMap for property "verstorbener" of class "...\Auftrag" is missing." $name = "Mustermann"; $query->matching( $query->logicalAnd( $query->equals('verstorbener.nachname

Typoscript USER / USER_INT objects in powermail input fields

久未见 提交于 2019-12-25 10:16:07
问题 I've a custom extension to render a value from database. I want to prefill the returned value of the extension using powermail prefill typoscript. But when I add the plugin as userfunction, then it will display strange output in frontend. See my typoscript code below; lib.companyname = USER_INT lib.companyname { userFunc = tx_extbase_core_bootstrap->run extensionName = ExtPowermail pluginName = Extpowermail vendorName = TYPO3 controller = Extpowermail action = list } plugin.tx_powermail

In extbase, how to access item by another value than uid

浪子不回头ぞ 提交于 2019-12-25 07:47:52
问题 In a custom extbase extension, I need to call a show action, passing it another value than uid (this is a continuation of Use other than primary key as RealURL id_field). As the value "other than uid" is not resolved, it results in the exception http://wiki.typo3.org/Exception/CMS/1297759968 EDIT: here's the current working (but ugly) Controller code: /** * ItemController */ class ItemController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController { /** * itemRepository * * @var \STUBR

Change storage pid when programmatically persisting a model

房东的猫 提交于 2019-12-25 04:56:23
问题 I'm quite new to Extbase and I'm trying to programmatically persist a new Model. The following code works: $testModel = $this->objectManager->create('Tx_MyExtension_Domain_Model_Test'); $testModel->setName('testing'); $this->TestRepository->add($testModel); $this->persistenceManager->persistAll(); However, I would like to change the storage folder it is put in (thus; change the pid field the record gets in the database). How should I do this? 回答1: You can set the default storage pid for new

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

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.