From nb at comasys.dk Tue Aug 2 01:46:22 2016 From: nb at comasys.dk (Nicolai Brogaard) Date: Tue, 02 Aug 2016 01:46:22 +0200 Subject: [TYPO3-dev] =?utf-8?q?_Debug_/_Testing_/_more_verbose_TCEmain?= Message-ID: I am trying to insert localized content into tt_content using TCEMain (DataHandler) I am following the documentation as good as possible: //docs.typo3.org/typo3cms/CoreApiReference/6.2/ApiOverview/Typo3CoreEngine/Database/Index.html I am running version 6.2.12 I start with the [version] command and that works great. I then reset the TCE object and try using the [localize] - it doesn't work; I don't get any error either - actually any kind of verbosity would be appreciated - is there a way I can force that? Source code of the relevant implementation is linked below. link to pastebin: can't link because of the 3 post rule, so the pastebin has id: meR1RkiQ or //pastebin.com/meR1RkiQ From jigal.van.hemert at typo3.org Wed Aug 3 14:33:53 2016 From: jigal.van.hemert at typo3.org (Jigal van Hemert) Date: Wed, 3 Aug 2016 14:33:53 +0200 Subject: [TYPO3-dev] Debug / Testing / more verbose TCEmain In-Reply-To: References: Message-ID: Hi, On 02/08/2016 01:46, Nicolai Brogaard wrote: > I am trying to insert localized content into tt_content using TCEMain > (DataHandler) > > I am running version 6.2.12 > > I start with the [version] command and that works great. > > I then reset the TCE object and try using the [localize] - it doesn't > work; I don't get any error either - actually any kind of verbosity > would be appreciated - is there a way I can force that? You don't need to unset the DataHandler (TCE_main) object in between operations. Calling ->start() will initialize the object enough to work with the new command or data array. Some commands will create new records (version, localize, NEW record in the data map) and you need to use the uid's of those records to modify those records. So, if you execute the localize command a new record is created. For most tables it's a record in the same table, for pages for example it's a record in the overlay table. Once you've called start() it's no use changing the data in the array. Those changes will not be used in process_datamp() and process_cmdmap() process_cmdmap() will do what's in the second parameter of start(): the commands process_datamap() will do what's in the first parameter of start(): the new or modified data So the order is: - fill data or command array - call ->start() - call process_data/cmdmap In your case: - fill command array (version and localize can be in one array) - call start() - call process_cmdmap() - find localized record - fill data array and empty command array - call start() - call process_datamap() -- Jigal van Hemert TYPO3 CMS Active Contributor TYPO3 .... inspiring people to share! Get involved: typo3.org From nb at comasys.dk Thu Aug 4 15:52:26 2016 From: nb at comasys.dk (Nicolai Brogaard) Date: Thu, 04 Aug 2016 15:52:26 +0200 Subject: [TYPO3-dev] =?utf-8?q?Debug_/_Testing_/_more_verbose_TCEmain?= References: Message-ID: That helped thank you very much. Is it possible to get the inserted id of the row from the localize command? From thomas at visualworx.de Thu Aug 18 14:14:43 2016 From: thomas at visualworx.de (Thomas Mammitzsch) Date: Thu, 18 Aug 2016 14:14:43 +0200 Subject: [TYPO3-dev] 7.6 RTE full-screen Message-ID: Hi list, i changed my TCA to have the new wizard definition like 'content' => array( 'exclude' => 0, 'label' => 'LLL:EXT:zdfspecials/Resources/Private/Language/locallang_db.xml:tx_zdfspecials_domain_model_special.content', 'config' => array( 'type' => 'text', 'cols' => 80, 'rows' => 15, 'eval' => 'trim', 'softref' => 'typolink_tag,images,email[subst],url', 'wizards' => Array( '_PADDING' => 4, 'RTE' => Array( 'notNewRecords' => 1, 'RTEonly' => 1, 'type' => 'script', 'title' => 'LLL:EXT:cms/locallang_ttc.php:bodytext.W.RTE', 'icon' => 'wizard_rte2.gif', 'module' => array( 'name' => 'wizard_rte' ) ), ) ), ), wizard works, but its not full screen at all. What am i missing? regards, Thomas From stefansajok at hotmail.com Tue Aug 23 11:16:39 2016 From: stefansajok at hotmail.com (stefan sajok) Date: Tue, 23 Aug 2016 11:16:39 +0200 Subject: [TYPO3-dev] =?utf-8?q?7=2E6_RTE_full-screen?= References: Message-ID: Hi Thomas, I have the same problem here. TYPO3 7.6.6 Th RTE works in fullscreen inside of standard content elements, but not im my Extension. My TCA: .. 'description' => array( 'exclude' => 1, 'label' => 'LLL:EXT:cust/Resources/Private/Language/locallang_db.xlf:tx_cust_domain_model_product.description', 'config' => array( 'type' => 'text', 'cols' => 40, 'rows' => 15, 'eval' => 'trim', 'wizards' => array( 'RTE' => array( 'icon' => 'wizard_rte2.gif', 'notNewRecords'=> 1, 'RTEonly' => 1, 'module' => array( 'name' => 'wizard_rich_text_editor', 'urlParameters' => array( 'mode' => 'wizard', 'act' => 'wizard_rte.php' ) ), 'title' => 'LLL:EXT:cms/locallang_ttc.xlf:bodytext.W.RTE', 'type' => 'script' ) ) ), ), .. From stefansajok at hotmail.com Tue Aug 23 21:42:25 2016 From: stefansajok at hotmail.com (stefan sajok) Date: Tue, 23 Aug 2016 21:42:25 +0200 Subject: [TYPO3-dev] =?utf-8?q?7=2E6_RTE_full-screen?= References: Message-ID: The solution is ... 'module' => array( 'name' => 'wizard_rte', NOT 'module' => array( 'name' => 'wizard_rich_text_editor', From post at bergische-webschmiede.de Wed Aug 24 17:19:45 2016 From: post at bergische-webschmiede.de (Stefan Padberg) Date: Wed, 24 Aug 2016 17:19:45 +0200 Subject: [TYPO3-dev] Show tt_content preview in page module via Fluid with more variables Message-ID: Hi, I need a hint: Here: is described how to configure the page module to render a preview of a single content element in Backend via Fluid. Something like: [Page TS] mod.web_layout.tt_content.preview.media = EXT:site_mysite/Resources/Private/Templates/Preview/Media.html [/Page TS] The tt_content data set of the content element is available in Fluid. But nothing more. How can I make some more variables available for Fluid? For example the images? Regards Stefan -- Bergische Webschmiede Dipl.-Ing. Stefan Padberg TYPO3-Integrator und Webprogrammierer :: Borner Str. 18 - 42349 Wuppertal :: +49 202 97648355 :: +49 173 9219845 :: post at bergische-webschmiede.de :: http://www.bergische-webschmiede.de From post at bergische-webschmiede.de Mon Aug 29 09:44:28 2016 From: post at bergische-webschmiede.de (Stefan Padberg) Date: Mon, 29 Aug 2016 09:44:28 +0200 Subject: [TYPO3-dev] Show tt_content preview in page module via Fluid with more variables In-Reply-To: References: Message-ID: Am 24.08.2016 um 17:19 schrieb Stefan Padberg: > Hi, > > I need a hint: > > Here: > > > is described how to configure the page module to render a preview of a > single content element in Backend via Fluid. > > Something like: > > [Page TS] > mod.web_layout.tt_content.preview.media = > EXT:site_mysite/Resources/Private/Templates/Preview/Media.html > [/Page TS] > > The tt_content data set of the content element is available in Fluid. > But nothing more. > > How can I make some more variables available for Fluid? > > For example the images? > Patrick Broens gave me the hint: Look at: typo3_src-7.6.10/typo3/sysext/backend/Classes/View/PageLayoutView.php method 'tt_content_drawItem'. There is a hook in this method which you can use I will use this hook to enrich the Fluid variables for the Backend templates of the tt_content elements. Regards Stefan -- Bergische Webschmiede Dipl.-Ing. Stefan Padberg TYPO3-Integrator und Webprogrammierer :: Borner Str. 18 - 42349 Wuppertal :: +49 202 97648355 :: +49 173 9219845 :: post at bergische-webschmiede.de :: http://www.bergische-webschmiede.de From oliver.hader at typo3.org Tue Aug 30 16:21:06 2016 From: oliver.hader at typo3.org (Oliver Hader) Date: Tue, 30 Aug 2016 16:21:06 +0200 Subject: [TYPO3-dev] [TYPO3-core] Announcing TYPO3 CMS 8.3 Message-ID: Dear TYPO3 World, today, the TYPO3 community published the next iteration of TYPO3 v8, the enterprise content management system. TYPO3 v8.3 is a sprint release, a stable release on the way to the final TYPO3 v8 LTS planned for spring 2017. For details about the release, please see: https://typo3.org/news/article/releasing-typo3-v83/ https://typo3.org/typo3-cms/roadmap/ The packages can be downloaded here: https://typo3.org/download/ MD5 checksums: 237318f8b3e578b897323bae81caa9e1 typo3_src-8.3.0.tar.gz 98f4f506ef5ecebf9f415c821e99dba8 typo3_src-8.3.0.zip SHA256 checksums: 2bda5064078b64e9fc71215359bc52058cb0719b15af9a502f46372bf0a5575c typo3_src-8.3.0.tar.gz 45babd374f00ff3e6b450f1b14455f056c384f78a56ddacacc4781527397743c typo3_src-8.3.0.zip Best regards Oliver -- Oliver Hader TYPO3 .... inspiring people to share! Get involved: http://typo3.org