typo3

TYPO3 – TypoScript auto-complete in backend

廉价感情. 提交于 2019-12-24 01:33:29
问题 It's just a simple question but couldn't find any helpful solution or hints...I have the current TYPO3 version and watched some videos on YouTube about it and wondered why I have no autocomplete when writing some TypoScript. I saw it in this video: https://www.youtube.com/watch?v=ZCSIK3lFfwM&list=PL1D69sw7eWECaiqIOLhcSnjgTTjLJdd4I&index=5 at 03:45 Is it possible to do it in the newest version or do I have to use an IDE? 回答1: First install the extension ts3editor. Then you can "activate" auto

TYPO3 – TypoScript auto-complete in backend

断了今生、忘了曾经 提交于 2019-12-24 01:32:47
问题 It's just a simple question but couldn't find any helpful solution or hints...I have the current TYPO3 version and watched some videos on YouTube about it and wondered why I have no autocomplete when writing some TypoScript. I saw it in this video: https://www.youtube.com/watch?v=ZCSIK3lFfwM&list=PL1D69sw7eWECaiqIOLhcSnjgTTjLJdd4I&index=5 at 03:45 Is it possible to do it in the newest version or do I have to use an IDE? 回答1: First install the extension ts3editor. Then you can "activate" auto

How can I avoid datetime problems in TYPO3?

孤街醉人 提交于 2019-12-24 00:25:44
问题 I have created a little extension which uses datetimes to view some specific events (event date and event time), but I always run into trouble if I try to get the correct datetime from database to frontend. I can set the datetime for each event via TYPO3 backend: But if I try to get this value on frontend like: <f:format.date format="d.m.Y - H:i:s">{event.appointment}</f:format.date> Then the output is not "10.04.2016 - 08:00:00" it is "10.04.2016 - 10:00:00". How can I avoid this behaviour?

Nothing appears in Typo3 with powermail (Frontend)

淺唱寂寞╮ 提交于 2019-12-24 00:15:05
问题 I need help with powermail. I'm using Typo3 6.2.4 and powermail 2.0.16. Something is wrong cause nothing appear in the frontend, but I don't what and I need some helps. I created a new root page with the basic template "HELLO WORLD!" (ID = 15). # Default PAGE object: page = PAGE page.10 = TEXT page.10.value = HELLO WORLD! In this template, I included two statics templates : "Main Template (powermail)" and "Add basic CSS (powermail)" After that, in the root page, I created the folder

What is the difference between render() and renderStatic() and what should be used when writing a ViewHelper in TYPO3

让人想犯罪 __ 提交于 2019-12-23 23:23:03
问题 There are several examples for writing a custom ViewHelper and different ways to do things. I have seen examples with render() and with renderStatic (for example in Developing a Custom ViewHelper). In 24 Fluid Tips there is an explanation, but I don't understand it and it does not make it clear for me why there are 2 functions and what should be used where. Breaking changes (Render method arguments on ViewHelpers deprecated) and fragmented information in various places makes it difficult to

How can I apply a different wrap to every menu item?

余生颓废 提交于 2019-12-23 18:42:28
问题 I was trying to create a custom menu in TypoScript and my idea is to have a div for each menu item. Example lib.mainMenu = HMENU lib.mainMenu { entryLevel = 0 1 = TMENU 1 { NO.allWrap = <div id="forsideknap">|</div> |*| <div id="butikker">|</div> |*| <div id="nyheder">|</div> |*| <div id="arrangementer">|</div> |*| <div id="avis">|</div> } } I have created 5 pages, and only 3 of them are getting their div . There are 3 identical. How can I fix this problem? 回答1: You are using the optionSplit

TYPO3 can't enable htmlArea RTE

旧巷老猫 提交于 2019-12-23 13:28:12
问题 I try to install the module htmlArea RTE in TYPO3 6.2 (The LTS version). In "Extension Manager", he's active, but in "Page", when I edit or create a new Text record, the WYSIWYG doesn't appear. I'm on Firefox but I tried on other browser and he doesn't appear too. 回答1: Please check in the module "User Settings" on tab "Edit & Advanced functions" if there is a checkmark at the option "Enable Rich Text Editor (if available)". I tried a fresh installation and had the same problem. After set the

What's the fastest way to install and set up TYPO3 locally?

房东的猫 提交于 2019-12-23 09:39:28
问题 I want to install and set up TYPO3 on my local machine. What's the best practice and fastest way to do so? 回答1: For running TYPO3 on a local machine you need a web server running on your machine. This can be done in different ways: Native Web Server, PHP and database on a Linux based machine Virtual Machine (VirtualBox, VMWare, Parallels, etc.) Vagrant Docker Currently the fastest way to a "non power user" in my opinion is ddev. ddev is a user-friendly possibility to run a perfect environment

How to compare DateTime in Extbase repository

余生颓废 提交于 2019-12-23 08:27:15
问题 I try to compare the start date of an event with the current date in order to only display the next events. This is my try in the eventRepository: public function findNext() { $query = $this->createQuery(); $query->matching( $query->greaterThanOrEqual('datum_beginn', new \DateTime('midnight')) ); return $query->execute(); } But the result is not as expected. This is the resulting query: SELECT events.* FROM events WHERE events.datum_beginn >= 1413669600 AND ... As you can see the DateTime is

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,