typo3

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

假如想象 提交于 2020-01-11 12:52:10
问题 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

What is the best way to debug Typoscript in TYPO3 CMS?

拈花ヽ惹草 提交于 2020-01-09 12:52:31
问题 What is the best way to debug typoscript in the TYPO3 CMS? Assuming I have a list, which is not displayed - what is the strategy to look for the issue? 回答1: Debugging Typoscript is not the most comfortable task, but there are several possibilities. Here are the most common techniques: Use the TS Object Browser in the backend: Choose the Web > Template module, then pick the page from the pagetree you need to debug. If there are any obvious syntax errors or redundant/missing brackets, an error

What is the best way to debug Typoscript in TYPO3 CMS?

核能气质少年 提交于 2020-01-09 12:52:05
问题 What is the best way to debug typoscript in the TYPO3 CMS? Assuming I have a list, which is not displayed - what is the strategy to look for the issue? 回答1: Debugging Typoscript is not the most comfortable task, but there are several possibilities. Here are the most common techniques: Use the TS Object Browser in the backend: Choose the Web > Template module, then pick the page from the pagetree you need to debug. If there are any obvious syntax errors or redundant/missing brackets, an error

TYPO3 6.2 performance, Typoscript Select, Typoscript Cache

时光总嘲笑我的痴心妄想 提交于 2020-01-07 05:50:15
问题 The problem itself is solved, but the question is still open cause I want to test the tipps from Krystian. See Edit 3 at the bottom of this question. I have a TYPO3 project that is very slow. So I did some tests and found some problems. I tested the startpage, the startpage containers 2 news list (total 9 articles) (tx_news version 2.3.0 - not the newest one). It contains the menu (created with fluid v:page.menu), the footer (also created with v:page.menu), a right column (mainly image

Typo3 7.6 typoscript problems with markers

浪子不回头ぞ 提交于 2020-01-07 05:05:13
问题 I have the following typoscript code page.20 = TEMPLATE page.20.template = FILE page.20.template.file = fileadmin/design/index.html page.20.marks{ CONTENT < styles.content.get CONTENT.renderObj.stdWrap.dataWrap=<div class="col-md-12">|</div> CONTENTLEFT < styles.content.getLeft #CONTENTLEFT.renderObj.stdWrap.dataWrap=<div class="col-md-5">|</div> CONTENTRIGHT< styles.content.getRight #CONTENTRIGHT.renderObj.stdWrap.dataWrap=<div class="col-md-7 text">|</div> TOPIMAGE< styles.content.getBorder

TYPO3 add checkbox field to model

删除回忆录丶 提交于 2020-01-07 04:01:13
问题 I have TYPO3 version 7.6.18. I added 'interest' int field to fe_users table. My TCA: 'interest' => [ 'exclude' => 1, 'label' => 'Interest', 'config' => [ 'type' => 'check', 'default' => '0', 'items' => [ ['Mann', 0 ], ['Frau', 1], ['Paar', 2] ] ] ], Help me please. What I must to model, that user can set interest checkbow in frontend in his profile ? How getters and setters method must be look like ? What object I must use, tell me please 回答1: This is a bit tricky since TYPO3 stores multiple

TYPO3 7.6 - tx_news 4.2.1 - no detail name in realurl?

≯℡__Kan透↙ 提交于 2020-01-07 02:43:07
问题 The realurl config with tx_news works fine for me, but I have one problem. I dont need the detail-name in the address. www.domain.org/news-list/ news-detail /test-news-name-here/ and now i dont need the "news-detail". Here the PHP code realurl.php <?php $TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment'; $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array( 'pagePath' => array( 'type' => 'user', 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl

How mix Month view and List view in same page with Calendar Base extension in TYPO3 7.6.14

不问归期 提交于 2020-01-06 21:05:34
问题 I have been seeing the code of Calendar Base but I have not understood the way as work markers and its functionality in the code. I want to know if is possible to create a mini calendar and in the moment that I click one day with events show below them the list. Please guide me what is the way to resolve it, not give me a code. 回答1: There are a lot of possible configurations for EXT:cal. I will only give the minimum required configurations for EXT:cal version 1.10.3 in TYPO3 CMS 7.6 as I used

How mix Month view and List view in same page with Calendar Base extension in TYPO3 7.6.14

一个人想着一个人 提交于 2020-01-06 21:02:13
问题 I have been seeing the code of Calendar Base but I have not understood the way as work markers and its functionality in the code. I want to know if is possible to create a mini calendar and in the moment that I click one day with events show below them the list. Please guide me what is the way to resolve it, not give me a code. 回答1: There are a lot of possible configurations for EXT:cal. I will only give the minimum required configurations for EXT:cal version 1.10.3 in TYPO3 CMS 7.6 as I used

TYPO3 sys_language_mode = content_fallback doesn't work on menu

我是研究僧i 提交于 2020-01-06 08:13:40
问题 I've just learned how to use "sys_language_mode = content_fallback" and as far as see it works like a charm. I am using TYPO3 6.0.6 with content_fallback and for content elements its working all over my installation. But, and that's my issue at the moment, i couldn't get it to work with my menus. All menus are allways switching back to the original "default" language. First reflex was to use a workaround in HMENU, but there's no way to select by language and now I am stuck for two days. Hope