typoscript

How do I approach typo3 in general? I mean basic CRUD operations like Laravel [closed]

你。 提交于 2020-02-29 09:58:30
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 8 days ago . Background: I am a Laravel developer and now we're shifting to typo3 development. We are using version 9. I am struggling in the middle because of the lack of resources, except official documentation. Where I stand: I installed the bootstrap extension which is a package from

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

Show category names of current page in TYPO3 8

萝らか妹 提交于 2020-01-25 09:02:41
问题 I am trying to display the category name(s) of the current page on a TYPO3 8 installation. In TYPO3 7 it used to work like this (see below), however now I only receive a random error code and no Text output. Any Ideas? lib.catclass = CONTENT lib.catclass { wrap = <div class="categories">|</div> table = sys_category select { pidInList = 35 // UiD of your category_page join = sys_category_record_mm ON(sys_category_record_mm.uid_local=sys_category.uid) where = sys_category_record_mm.tablenames=

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

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{ #?????? } } } }

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

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