typo3

How to clear the cache in Typo3 from an external script?

房东的猫 提交于 2020-02-01 09:16:26
问题 I do have a PHP script, which is not an extension for Typo3. Now I would like to delete the whole Cache of Typo3 out of this script. How is that possible? 回答1: install the TYPO3 Extension cleartypo3cache create a tool and a keyboard shortcut in PhpStorm 4 to trigger cleartypo3cache SSH access with passwordless pubkey authentication when pushing to a remote host. Install Extension " cleartypo3cache " and create the BE user " _cli_cleartypo3cache " and add the following TSconfig: options

TYPO3: hide 'Plugin Mode' and 'Record Storage Page' in a plugin

人盡茶涼 提交于 2020-02-01 04:01:27
问题 I was wondering if it is possible to hide both the 'Plugin Mode' and 'Record Storage Page' sections (pallets?) inside a plugin. When I only have one setting in my flexform configuration, it is almost overlooked when having these two large sections visible. In a lot of cases it would be great to remove such 'clutter' from the plugin. 回答1: This is possible by changing the TCA. Add this to Configuration/TCA/Overrides/tt_content.php $GLOBALS['TCA']['tt_content']['types']['list']['subtypes

Controllers and Template (how to filter results correctly or give arguments via backend?)

两盒软妹~` 提交于 2020-01-25 23:48:42
问题 I got following problem on my hand. My Site has a extension (written by me) which modelates a vehicle park. There are vehicles (german: Fahrzeug sry about that and in the future when I use german in my code/post) and there are VCategories (FzKategorie). They stand in N-1 relation , meaning N vehicles have all 1 Category min/max. I created a second plugin for the task, and gave it the default action: ListByCateory. Now I'm stuck WHEN to filter my restults, WHERE to hand over arguments which

Show category names of current page in TYPO3 8

萝らか妹 提交于 2020-01-25 09:02:41
问题 I am trying to display the category name(s) of the current page on a TYPO3 8 installation. In TYPO3 7 it used to work like this (see below), however now I only receive a random error code and no Text output. Any Ideas? lib.catclass = CONTENT lib.catclass { wrap = <div class="categories">|</div> table = sys_category select { pidInList = 35 // UiD of your category_page join = sys_category_record_mm ON(sys_category_record_mm.uid_local=sys_category.uid) where = sys_category_record_mm.tablenames=

How set userFunc “parameters” in TYPO3 flexform

☆樱花仙子☆ 提交于 2020-01-25 08:11:25
问题 I have config for google map in my TCA 'configuration_map' => array( 'exclude' => 0, 'label' => 'Map', 'config' => array( 'type' => 'user', 'userFunc' => 'Vendor\\Extension\\Utility\\LocationUtility->render', 'parameters' => array( 'lng' => 'lng', 'lat' => 'lat', 'address' => 'address', ), ), ), I need same config in flexform, like example below. How set userFunc "parameters" in xml? <settings.map> <TCEforms> <label>Map</label> <config> <type>user</type> <userFunc>Vendor\Extension\Utility

How set userFunc “parameters” in TYPO3 flexform

为君一笑 提交于 2020-01-25 08:11:23
问题 I have config for google map in my TCA 'configuration_map' => array( 'exclude' => 0, 'label' => 'Map', 'config' => array( 'type' => 'user', 'userFunc' => 'Vendor\\Extension\\Utility\\LocationUtility->render', 'parameters' => array( 'lng' => 'lng', 'lat' => 'lat', 'address' => 'address', ), ), ), I need same config in flexform, like example below. How set userFunc "parameters" in xml? <settings.map> <TCEforms> <label>Map</label> <config> <type>user</type> <userFunc>Vendor\Extension\Utility

TYPO3 website doesn't work after changing db

ⅰ亾dé卋堺 提交于 2020-01-25 08:00:06
问题 I want to make a copy of my TYPO3 CMS 6.2.18 website - what I did so far: Copied the entire website folder (including the TYPO3 installation) Copied the entire database (with a new name) Created a new db user for the copied db Adjusted the file /typo3conf/LocalConfiguration.php accordingly to the new DB+User Now I'm receiving following errors when calling different urls of my copied TYPO3 website: When I try calling the "Upgrade Wizard" from inside the install tool /typo3/install (which is

typo3 flexform options show invalid values in backend

拥有回忆 提交于 2020-01-25 07:33:06
问题 I have created a FlexForm for my typo3 backend to choose some options: <?xml version="1.0" encoding="utf-8" standalone="yes" ?> <T3DataStructure> <sheets> <sDEF> <ROOT> <TCEforms> <sheetTitle> </sheetTitle> </TCEforms> <el> <settings.maxNumber> <TCEforms> ... <settings.orderBy> <TCEforms> <label>My selections</label> <config> <type>select</type> <renderType>selectSingle</renderType> <items> <numIndex index="0"> <numIndex index="0">Title first</numIndex> <numIndex index="1">title,year,author<

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