typo3-9.x

TYPO3 9: add date to URL routing enhancers for news extension

岁酱吖の 提交于 2021-02-16 09:35:08
问题 For the detail pages of tx_news records as well as a calendar extension I wrote myself I want the record date in the URL as I had it until TYPO3 8LTS with the realURL extension: /path-to/my-page/yyyy/mm/dd/extension-record-path-segment/ . I managed to have the link created but with the cHash attached . My routeEnhancers settings for the tx_news_pi1 in /typo3conf/sites/my-site/config.yaml are as follows: routeEnhancers: NewsPlugin: type: Extbase limitToPages: [7] extension: News plugin: Pi1

TYPO3 setup.typoscript configured does not show any results

好久不见. 提交于 2021-02-11 14:41:25
问题 It seems that my setup.typoscript is not working properly. The error: The page is not configured! [type=0][]. This means that there is no TypoScript object of type PAGE with typeNum=0 configured. my setup.typoscript: page = PAGE page.10 = TEXT page.10.value = HALLO Include in the backend are configured and shows the extension so sys_template.php works, but i do not know why it shows anything. The normal field from the template modul Setup works fine. TYPO3 9.5 Thank you. 回答1: Try renaming the

Is config.sys_language_mode in TYPO3 9 with existing site configuration working any more?

老子叫甜甜 提交于 2021-02-11 14:32:23
问题 in a site with a site definition for a foreign language fallbackType: fallback i need for one page branch a different bahavior. Up to TYPO3 8 i used an extension template with config.sys_language_mode = strict which did the job. But in TYPO3 9 with an existing site definition this entry seems not to work anymore. Accordiong to the manual https://docs.typo3.org/m/typo3/guide-frontendlocalization/master/en-us/LocalizationModes/Index.html it should work but it does not. Any ideas? Thanks! 来源:

Make js-code work to add - remove a class in TYPO3 TS menu

↘锁芯ラ 提交于 2021-01-29 14:33:13
问题 I like to achieve this effect for a TYPO3 site navigation - see the codepen here: https://codepen.io/mr_vespa/pen/zYryZQo On load the menu has the first tab highlighted. On click the selected tab will be highlighted. Both effects are not taking place. How to get an "active" class on the first menu tab only why is the js-code not applied both jquery and the js-code are included/ TYPO3 version 9.* The menu code (which is coded for use with Foundation 6.4.2 dropdown menu). and working fine. lib

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 9.5.4 CKEditor RTE deletes style attributes

Deadly 提交于 2021-01-28 18:44:08
问题 I updated a TYPO3 website from 7->8->9. Now the problem is that the RTE CKEditor keeps deleting style attributes and even styles. So and old Element with content: <div class="mobilr"> <table height="655" width="972" style="vertical-align: middle; background-color: rgb(255, 255, 255); border-style: solid; border-color: rgb(187, 187, 187);" class="centertable"> <tbody> <tr style="vertical-align: middle;"> <td> <p> </p> .... is loaded in the editor as: <table class="centertable" style="height

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

How to properly set url-routing for tx-news in TYPO3 9.5.5?

你离开我真会死。 提交于 2021-01-05 10:37:02
问题 I use TYPO3 V9.5.5 with PHP V7.2.10. Also there is tx-news plugin installed. The site configuration is set and works. But if I add routeEnhancers for news detail it doesnt't show it in the url. It always looks like: http://p510984.mittwaldserver.info/aktuell/detail?tx_news_pi1%5Bnews%5D=5&cHash=c68f25c1ef4b5bd7320220373cfed332 I searched for solutions in stackoverflow and google. Also I read the manual of the news extension https://docs.typo3.org/typo3cms/extensions/news/stable

How to properly set url-routing for tx-news in TYPO3 9.5.5?

谁说胖子不能爱 提交于 2021-01-05 10:35:31
问题 I use TYPO3 V9.5.5 with PHP V7.2.10. Also there is tx-news plugin installed. The site configuration is set and works. But if I add routeEnhancers for news detail it doesnt't show it in the url. It always looks like: http://p510984.mittwaldserver.info/aktuell/detail?tx_news_pi1%5Bnews%5D=5&cHash=c68f25c1ef4b5bd7320220373cfed332 I searched for solutions in stackoverflow and google. Also I read the manual of the news extension https://docs.typo3.org/typo3cms/extensions/news/stable

How to setup multiple websites on single typo3 v9 installation

坚强是说给别人听的谎言 提交于 2020-12-12 02:14:12
问题 Any one can explain, how to setup multiple websites on the single TYPO3 installation?. TYPO3 have multisite concept. But i have searched through internet, no documentation found. 回答1: As far as I can say: Edit the page you want to behavior as root page 1.1. Check Use as Root Page (Tab behaviour) Setup a site configuration (site configuration -> sites -> Add new site configuration for this site ) 2.1 Set a Site identifier (content dont affect the domain; its just used for the folder naming) 2