extbase

TYPO3: what is the field “access_group” for?

爱⌒轻易说出口 提交于 2021-02-05 11:28:48
问题 I don't know what is the field "access_group int(11) DEFAULT 0 NOT NULL" for? First I thought it's for restriction by user_group, but there is an field "fe_group varchar(100) DEFAULT '' NOT NULL" for it. You can find the field also at the documentation Preparing the database , but I couldn't find a description for it, only for "fe_group". 回答1: access_group is the be_user group. In TYPO3 you have an access-system similar to the unix-rights, where you can grnat access to pages (and records in

TYPO3 9.5 slug redirect for extbase records results in PageNotFoundException

北城余情 提交于 2021-01-28 22:25:41
问题 I want to be able to call blogpost entries by their slug, which is made of their title, through a routeEnhancer . The slug is generated correctly, but calling the URL results in a PageNotFoundException with the error message: Request parameters could not be validated (&cHash empty) And with links generated with Fluid: <f:link.action action="show" arguments="{'blogpost': blogpost}" pageUid="{settings.ShowPid}">Weiterlesen</f:link.action> ... I get The requested page does not exist Using TYPO3

TYPO3 - Overriding & adding meta tags (from tx_metaseo) on detail view of custom extension

时间秒杀一切 提交于 2021-01-28 08:23:29
问题 I have a custom extension and on the detail page of the records I want to seo pimp the profile sites. I'm also using tx_metaseo. I'm already changing the 'title' tag via the show action like this: /** * action show * * @param Application $record * @return void */ public function showAction(Application $record=null) { // For the search $GLOBALS['TSFE']->indexedDocTitle = $record->getName(); } } But since I have tx_metaseo installed ... I'm also getting the generall meta tags. So on the detail

Why doesn't TYPO3 have a Page Model in Core?

随声附和 提交于 2021-01-28 05:13:05
问题 When I use the core PageRepository (TYPO3\CMS\Frontend\Page\PageRepository), function getPage (), I get an array returned and not an object , as in many other core repositories. Then I have to build some "magic" for myself in order to inject the Categories or the Page Author as Objects to be used in the Fluid Templates . Question is if it is a kind of "design decision" not to provide a Page Model at all? 回答1: The PageRepository is not used in Extbase context, so there is no Domain modelling

Get TYPO3 Plugin settings from FlexForms in controller

♀尐吖头ヾ 提交于 2021-01-24 08:09:29
问题 I have a FE Plugin which uses a FlexForm MyExtFlexForm which is used to set certain configurations like limit or SourcePage etc.. In my controller action list I get these settings using $this->settings . Works fine till now. Now, I make AJAX calls to action update and I need to use the same settings which have been set earlier through the FlexForm for the FE plugin on this page. $this->settings does not show anything . I checked $GLOBALS['TSFE']->tmpl->setup['plugin']['MyExt.']['settings.']

Get TYPO3 Plugin settings from FlexForms in controller

柔情痞子 提交于 2021-01-24 08:07:52
问题 I have a FE Plugin which uses a FlexForm MyExtFlexForm which is used to set certain configurations like limit or SourcePage etc.. In my controller action list I get these settings using $this->settings . Works fine till now. Now, I make AJAX calls to action update and I need to use the same settings which have been set earlier through the FlexForm for the FE plugin on this page. $this->settings does not show anything . I checked $GLOBALS['TSFE']->tmpl->setup['plugin']['MyExt.']['settings.']

Get TYPO3 Plugin settings from FlexForms in controller

荒凉一梦 提交于 2021-01-24 08:06:38
问题 I have a FE Plugin which uses a FlexForm MyExtFlexForm which is used to set certain configurations like limit or SourcePage etc.. In my controller action list I get these settings using $this->settings . Works fine till now. Now, I make AJAX calls to action update and I need to use the same settings which have been set earlier through the FlexForm for the FE plugin on this page. $this->settings does not show anything . I checked $GLOBALS['TSFE']->tmpl->setup['plugin']['MyExt.']['settings.']

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

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