typo3

realUrl not writing preVar for default language

社会主义新天地 提交于 2020-01-23 11:41:14
问题 I am running realURL 1.12.6 on TYPO3 4.5.26 I am used to realURL creating paths that contain the preVar also for the default language, like www.example.com/de/seite/ and www.example.com/en/page/ In one case, this is just not happening - or I think, only sometimes. In most of the cases, I get www.example.com/seite/ and www.example.com/en/page/ Where can this be changed? PS: Here's the beginning of my realurlconf: $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array( 'init' => array(

Typo3 Extbase AJAX without page typenum

≡放荡痞女 提交于 2020-01-20 02:25:26
问题 Is there any way to create AJAX calls in Extbase extension without using of page typeNum? 回答1: Edit: Helmut Hummel, a member of the TYPO3 CMS team, measured that using EID with Extbase is slower than using the typeNum approach. But since the typeNum approach is cumbersome to configure, there is a third way developed by him. The extension typoscript_rendering provides a way to call Extbase actions directly without additional configuration. It contains a ViewHelper that generates such links and

TYPO3 - properly edit extension template

十年热恋 提交于 2020-01-17 09:37:09
问题 I am using TYPO3 7.6.13 and I am trying to customize news extension. I am trying to insert my own custom template but TYPO3 can't find it, therefore default template is always included. I have customized setup.txt and constants.txt files inside the Configuration/TypoScript directory. I also created custom directories for templates and partials inside the fileadmin directory: fileadmin/templates/ext/news/templates/ fileadmin/templates/ext/news/partials/ This is part of setup.txt: plugin.tx

TYPO3 - properly edit extension template

强颜欢笑 提交于 2020-01-17 09:34:10
问题 I am using TYPO3 7.6.13 and I am trying to customize news extension. I am trying to insert my own custom template but TYPO3 can't find it, therefore default template is always included. I have customized setup.txt and constants.txt files inside the Configuration/TypoScript directory. I also created custom directories for templates and partials inside the fileadmin directory: fileadmin/templates/ext/news/templates/ fileadmin/templates/ext/news/partials/ This is part of setup.txt: plugin.tx

TYPO3 6.1.7 news details urls with parameters get thrown to 404 page

不问归期 提交于 2020-01-17 02:43:05
问题 I have the following problem on a TYPO3 6.1.7 installation: on the news details page, when trying to add some parameters to the url, i get thrown to the 404 page . So if i have a url of type : [my_site]/typo3_6.1.7/examples/tt-news/news-details/?tx_ttnews[tt_news]=3&cHash=9011f9244c0a445bc1409ee0ef137d54 and i try to add any parameter after cHash (for example some_param=123), it goes to the 404 page with a 404 redirect code. We would need this functionality for accessing the news details page

Typo3: Sub-page Template not loading

隐身守侯 提交于 2020-01-16 18:36:35
问题 Maybe I'm just missing something ... obviously, and so far I've googled up nothing to help. the issue, seems simple, I'm just trying to load a "slightly" different for one Page in my Root tree. All other pages share the Root template, but I need for this one page to have a completely different kind of content and a slightly different header, thus the need for a secondary template. I've done the following for it: # Default PAGE object: page = PAGE # Define the template page.10 = TEMPLATE # Our

How to set focusArea for all ctypes

限于喜欢 提交于 2020-01-16 09:07:12
问题 Here i found the information how to set global crop variants for all ctypes. https://docs.typo3.org/typo3cms/extensions/core/8.7/Changelog/8.7/Feature-79812-AllowOverridingCropVariantsForImageManipulation.html Now i want to set a focusArea for all ctypes. What would be the best way? 'focusArea' => [ 'x' => 1 / 3, 'y' => 1 / 3, 'width' => 1 / 3, 'height' => 1 / 3, ], https://docs.typo3.org/typo3cms/extensions/core/8.7/Changelog/8.6/Feature-75880

Conditional if a post in tt_news belongs to certain category

岁酱吖の 提交于 2020-01-15 04:50:07
问题 I made a custom marker for tt_news which shows the first image from the media field, OR the third if it belongs to certain category (lets say category with ID = 2). I dont know how to make that conditional. This is what I have so far: 10 = IMAGE 10.file{ width = 550 height = 350 import = uploads/pics/ import{ field = image listNum = 0 #If also belongs to the category "Startseite", the listNum should be 2 listNum.stdWrap.override = TEXT listNum.stdWrap.override{ value = 0 if{ #?????? } } } }

How can I optimize my MySQL server? [closed]

江枫思渺然 提交于 2020-01-14 05:40:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I have 3,066,691 queries logged and some red numbers in my phpmyadmin status information: Slow_queries 24 Innodb_buffer_pool_reads 2,2 M Innodb_log_waits 8 Innodb_row_lock_time_avg 49 Innodb_row_lock_waits 1 Created_tmp_disk_tables 21 There are also green numbers in phpmyadmin but I don't know what they mean ? I

In a Typoscript HMENU, how to force the language for the URL

对着背影说爱祢 提交于 2020-01-11 12:52:31
问题 I have a multi-language, multi-site, multi-domain TYPO3 (4.5) Instance where RealURL keeps me busy. In some sub-sites, I just can't get it to create the right URLs for Languages 1 and 2. It will result in the pattern www.language-2-domain.com/language-1-pagetitle Instead of keeping on fiddling with realurl_conf, I would like to know if/how it is possible to tell a TMENU to force use a certain language - then I could solve it with a condition. Here's a completely normal TMENU: lib.content