typo3

TYPO3 Extbase: How to sort child objects

时光毁灭记忆、已成空白 提交于 2020-02-27 08:05:38
问题 I have an Extbase Model Article and a 1:n Relation Product. In Article TCA i have an inline field configuered. In my Article Template I want to display all related Products. These are oredered by uid. How can i change the ordering of the child objects to the field sorting to be able to manually sort them. ( In the backend form the sorting is possible, only diplaying them sorted by field sorting is not possible ) thanks, Lukas 回答1: Here's how I do it, in the repository class: class

TYPO3 breaks urls without WWW

末鹿安然 提交于 2020-02-25 05:58:04
问题 The problem is that when I want to access my website like www.example.com/my/subpage all works great but when I try to access my website like this (without WWW) example.com/my/subpage TYPO3 breaks it down and redirect it to www.example.com/index.php/subpage . The redirect from non WWW to WWW is correct but why does it destroy my url? Here is the .htaccess redirect: RewriteCond %{HTTP_HOST} !^www\.example\.com$ RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301] For the "nice" urls I use

“Controller does not exist. Reflection failed.” TYPO3

牧云@^-^@ 提交于 2020-02-21 06:58:11
问题 I am working on my own extension in TYPO3 (v 9.5.12) and when I click on my extension via Admin Tools, an error message pops up: The log reads following error message: Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1278450972: Class Secsign\Secsign\Controller\SecsignController does not exist. Reflection failed. | TYPO3\CMS\Extbase\Reflection\Exception\UnknownClassException thrown in file C:\xampp\htdocs\Typo9\public\typo3\sysext\extbase\Classes\Reflection\ReflectionService.php in

“Controller does not exist. Reflection failed.” TYPO3

我怕爱的太早我们不能终老 提交于 2020-02-21 06:58:07
问题 I am working on my own extension in TYPO3 (v 9.5.12) and when I click on my extension via Admin Tools, an error message pops up: The log reads following error message: Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1278450972: Class Secsign\Secsign\Controller\SecsignController does not exist. Reflection failed. | TYPO3\CMS\Extbase\Reflection\Exception\UnknownClassException thrown in file C:\xampp\htdocs\Typo9\public\typo3\sysext\extbase\Classes\Reflection\ReflectionService.php in

tt_address: add categorys of address to the template

烂漫一生 提交于 2020-02-08 02:38:49
问题 Is it somehow possible to add the sub-group of a cetrain group the address is assigned to the html output? In the template I have ###MAINGROUP### and ###GROUPLIST### . I can't use maingroup, cause it's not the case that the group I need is always the maingroup. And with the grouplist I can't say which group is the sub-group of the one group. Anyone have an idea how I could do it? And in addition to that I also need the value of a self created field in the tt_address table. Edit: I try it like

tt_address: add categorys of address to the template

浪尽此生 提交于 2020-02-08 02:38:18
问题 Is it somehow possible to add the sub-group of a cetrain group the address is assigned to the html output? In the template I have ###MAINGROUP### and ###GROUPLIST### . I can't use maingroup, cause it's not the case that the group I need is always the maingroup. And with the grouplist I can't say which group is the sub-group of the one group. Anyone have an idea how I could do it? And in addition to that I also need the value of a self created field in the tt_address table. Edit: I try it like

Menu: wrap every X item

大憨熊 提交于 2020-02-06 07:47:46
问题 I am trying to wrap every 3rd item in a menu generated with TypoScript. This is my menu: tt_content.menu.20.4 > tt_content.menu.20.4 < tt_content.menu.20.1 tt_content.menu.20.4.stdWrap.outerWrap = <div class="my-menu">|</div> tt_content.menu.20.4.1.wrap = <ul>|</ul> tt_content.menu.20.4.1.NO { doNotLinkIt = 1 stdWrap.htmlSpecialChars = 0 stdWrap.cObject = COA stdWrap.cObject { # title 10 = TEXT 10 { field = title typolink.parameter.field = uid typolink.ATagParams = class="more" } # abstract

XAMPP 3.2.1 and typo3 6.2 OpenSSL not working

☆樱花仙子☆ 提交于 2020-02-04 05:21:05
问题 I do have the following problem. Trying to install typo3 6.2 on my local machine under xampp 3.2.1 Installer tells me "PHP OpenSSL extension not working" What I've done so far: checked extension=php_openssl.dll in my php/bin "sysext", "rsaauth" and "saltedpasswords" are in my typo3 folder apache ssl_module is running put ssl in the system variables I've also tried a downgrade to OpenSSL 0.9.8, but still getting the error. Btw, I've restarted xampp after every edit. I'm running xampp on

Indexed Search extbase htmltags in output

时光怂恿深爱的人放手 提交于 2020-02-03 04:19:29
问题 I am using TYPO3 7.6.11 and indexed_search 7.6.0. I use the extbase plugin for indexed_search and in the output it escapes the HTML-Tags to mark the searchword. For example, when I search for "search" I get this output: Test text with<strong class="tx-indexedsearch-redMarkup">search</strong> pattern. I found this bugfix to this problem: https://forge.typo3.org/issues/77901 But the file PageBrowsingResultsViewHelper.php doesn't look exactly the same, and even when I add the variable protected

Indexed Search extbase htmltags in output

时光怂恿深爱的人放手 提交于 2020-02-03 04:18:08
问题 I am using TYPO3 7.6.11 and indexed_search 7.6.0. I use the extbase plugin for indexed_search and in the output it escapes the HTML-Tags to mark the searchword. For example, when I search for "search" I get this output: Test text with<strong class="tx-indexedsearch-redMarkup">search</strong> pattern. I found this bugfix to this problem: https://forge.typo3.org/issues/77901 But the file PageBrowsingResultsViewHelper.php doesn't look exactly the same, and even when I add the variable protected