Questions tagged [typoscript]

TypoScript is a descriptive language which defines how a website in the CMS TYPO3 is rendered. TypoScript mainly defines configuration values that are passed to the systems PHP code. It is object-based and organized in a tree-like system.

typoscript
Filter by
Sorted by
Tagged with
0 votes
2 answers
539 views

TYPO3:Typoscript = render temp var

I have a problem in my Typoscript and can not find nay solution. Here is an extract of my typoscript : temp.my_class = TEXT temp.my_class.value = my_custom_class temp.my_class.wrap = class="|" 10 &...
Paolito75's user avatar
  • 558
0 votes
2 answers
281 views

Third level menu doesn't display - TYPO3

I'm a TYPO3 Newbie and I tried creating a menu with 3 levels. The 3rd level doesn't display. This is the TypoScript I used: temp.navigation = HMENU temp.navigation { 1 = TMENU 1 { ...
Patrick Raphael Paul's user avatar
0 votes
2 answers
278 views

Read DB entries dynamically in TypoScript

I have the following setup for my Typo3 installation: TypoScript: lib.responsiveImage = IMAGE lib.responsiveImage { default = IMAGE default{ file { import.current = 1 ...
fighter-ii's user avatar
0 votes
1 answer
141 views

PhpStorm file types in name specific folders

I have some files with different names and two .ts and .txt extensions always in somePath/**TypoScript**/anotherPaths I want to assign to TypoScript but only if the txt is inside TypoScript folder. ...
drinkAcoffee's user avatar
0 votes
1 answer
233 views

How to hide sub page of sub-domain tree from the main domain in typo3 8 LTS

I have website page tree down bellow: - Main domain 1 (main domain) - Home - about us - Contact - gallery - Sub domain 2 (sub-domain) - Home - about us ...
Geee's user avatar
  • 2,229
0 votes
1 answer
591 views

TYPO3 Menu creates two anchor per link

The following TypoScript creates two anchor tags per li tag. 5 = HMENU 5 { wrap = <ul class="menu clearfix">|</ul> special = directory special.value = {$supportfolder} 1 = ...
Falk's user avatar
  • 641
0 votes
1 answer
187 views

TYPO3 DCE to TYPO3FLUX

Hello guys im totally new to TYPO3 and I received a task to rewrite the DCE syntax to flux. Can anybody explain it to me how it works? do I need flux for each? <f:for each="{dce:fal(field:'...
mY777's user avatar
  • 239
0 votes
1 answer
71 views

TypoScript Conditions with Literals

I am experiencing a strange behaviour. I have a TYPO3 7.6.18 and a TS condition like shown on https://docs.typo3.org/typo3cms/TyposcriptReference/Conditions/Reference/Index.html#id45 Constants: ...
Markus Kappe's user avatar
0 votes
2 answers
2k views

Overwrite TCEFORM from Extension Flexform

I'm using TYPO3 8.7.1 and want to overwrite a flexform field with TCEFORM in PageTS. The file locallang_db.xlf has the following entry: <trans-unit id="section.title" xml:space="preserve" ...
lufi's user avatar
  • 640
0 votes
2 answers
3k views

TYPO3 7.6: add code after body tag for Facebook called by a fluid template

I insert a fluid template as Content Element somewhere on the page which contains a facebook plugin (developers.facebook.com) ... this plugin requires the SDK to be loaded once right after the opening ...
webman's user avatar
  • 1,157
0 votes
1 answer
637 views

TYPO3 HMENU doesn't shows parent Level pages

I want to make a Header menu, witch should be static through all subpages. At Home page I have this typoscript and works fine //this is a subpart MENU_HEADER = COA MENU_HEADER { 10 = HMENU ...
Donald M's user avatar
0 votes
1 answer
338 views

TYPO3 7.6 LTS change width of categories window (Select tree /Backend / TCA)

Is it possible to change the width of the categories select tree. Since TYPO3 7.6 LTS the width is limited to 280px, so you need to scroll, if you've lots of TYPO3-categories (Page properties -> ...
user2310852's user avatar
  • 1,664
0 votes
1 answer
203 views

Powermail Email to friend

I want to create an 'Email to friend' form where the user enters an email address, and an email is sent to that address with a link to the current page url. How do I set the receiver to be the email ...
user500665's user avatar
  • 1,280
0 votes
2 answers
308 views

TYPO3 6.2 - rlmp_tmplselector & automaketemplate confusion

after upgrading my TYPO3 from 4.5 to 6.2 I am greeted with a blank body tag on the content pages. I have no php errors and the TYPO3 log is also empty. After some (days of) try and error, I came to ...
J.K's user avatar
  • 25
0 votes
1 answer
65 views

TYPO3 Header Date wrong year?

I am using the typoscript: lib.stdheader.5.strftime = %G to have the header date show only the year. However when the date is set to 01/01/2006 the output is 2005. Is this a bug? It only seems to ...
user500665's user avatar
  • 1,280
0 votes
1 answer
1k views

How to add a parameter to the url with typoscript in TMENU

with the following snippet I get an ID counting up for every following menu item, this is the html output: <a href="http://example.com/index.php?id=17" id="item-1"> <!-- item-2 etc --> ...
webman's user avatar
  • 1,157
0 votes
1 answer
252 views

How get Categories of a single tt_news for Typoscript

I want to get the categories of a single new but the Typoscript code: page.100.data = GP:tx_ttnews|cat Does not work, the return show cat = 0 in the page. I need this value for set it in a list ...
César Dueñas's user avatar
0 votes
2 answers
2k views

useStdWrap conflicts with overrideFlexformSettingsIfEmpty in tx_news

In tx_news all plugin settings can also be set via TypoScript by adding their names to overrideFlexformSettingsIfEmpty. As the name suggests, these TS based settings are only used, if the ...
Jpsy's user avatar
  • 20.5k
0 votes
2 answers
249 views

The first Image of each row not resizing in TYPO3 "Image" or "Image w/ Text" Element

I've already discovered that issue in a TYPO3 6.2.x Version and now having the same problem in TYPO 7.6.x. It's always the first image of a row not resizing, no matter how images added to an element ...
lufi's user avatar
  • 640
0 votes
4 answers
1k views

typoscript negate conditions IP / if - if - else

is it possible to negate a condition with typoscript? We have a page where parts are only seen, if your ip-address is in the range 10.*.*.*: [IP=10.*.*.*] # show internal content [global] This ...
MPH's user avatar
  • 21
0 votes
1 answer
50 views

Set dynamic _DEFAULT_PI_VARS

I must set plugin.tt_news._DEFAULT_PI_VARS.tt_news to show the latest news by default. So I get the uid of the latest news via CONTENT. temp.newsUid = CONTENT temp.newsUid { table = tt_news ...
Stephan Grass's user avatar
0 votes
1 answer
2k views

TYPO3 menu also shows non translated pages

I’ve got a new TYPO3 installation with 4 languages and as we were working on the nav something strange happened: the non translated pages already showed up the nav when switching the language, ...
CDRO's user avatar
  • 130
0 votes
2 answers
1k views

typolink on whole COA

I'm trying to set one link around all my Content Objects, so the whole content ist wrapped. So far I've tried something like this: #Rendering start box text with image ap_content.textpic.100 = COA ...
dennis schütz's user avatar
0 votes
2 answers
1k views

TYPO3 - How to add a placeholder to an input field?

In TYPO3 (7.2.0) using the standard template engine, is there a way to add a placeholder attribute to the standard mail form text input? At the moment I am using JavaScript to convert the labels into ...
user500665's user avatar
  • 1,280
0 votes
2 answers
1k views

Typo3: How can I read the value of a field in page->edit->tab: Metadata

I create a header based on one image, one Main Header and one Sub Header. The following fields/labels in page/edit/Metadata are renamed like that: TCEFORM.pages.author.label.default = ...
Stefanie Golla's user avatar
0 votes
3 answers
490 views

HTML5 Custom Data Attributes in TYPO3 Backend Content Elements

I am wondering if there is a way to add a HTML5 Custom Data Attribute to any Content Element like Text or Text w/ images. Anyone tried / did this before or is there a good reason not to do this?
lufi's user avatar
  • 640
0 votes
1 answer
684 views

Typo3 Multi level menu

I am lost at trying to achieve a menu like this in typoscript.These pages should not be in the menu : excludeUidList = 2,3,5,6,7,48,49,50,51,52 <ul> <li> <a href="#" class="...
admir's user avatar
  • 193
0 votes
1 answer
977 views

Respect sorting of original language in TYPO3 Frontend (like defLangBinding)

I have some messed up values for tt_content.sorting in TYPO3 6.2 for translated records (sys_language_uid=1). That means that styles.content.get displays the right order (as visible in the backend) ...
Urs's user avatar
  • 5,004
0 votes
2 answers
1k views

Dropdown menu not working Typo3

my dropdown menu does not work as I planned it to. Here you can find the menu I'm working on. When I press 'Produkte' there should open a dropdown menu with 2 submenu points. If I get this ...
sebi's user avatar
  • 47
0 votes
1 answer
1k views

#1237900529: The argument "each" was registered with type "array", but is of type "string" in view helper "TYPO3\CMS\Fluid\ViewHelpers\ForViewHelper"

I get the following error message #1237900529: The argument "each" was registered with type "array", but is of type "string" in view helper "TYPO3\CMS\Fluid\ViewHelpers\ForViewHelper" while trying to ...
Ren's user avatar
  • 330
0 votes
2 answers
599 views

How to make news category in typo3 using tx_news

Hello I want to create News category in my website. i am using tx_news(News System) Extension for that. but i dont know how to create News Category Please Give me solution.
Maunil Prajapati's user avatar
0 votes
3 answers
1k views

TYPO3 Menu: only first level is displayed

I am currently working on a new site with Typo3, Version 7.3. This site will have a menu that should list all levels no matter of the current page. I tried with this TypoScript (which I also found on ...
Daniel's user avatar
  • 2,447
0 votes
1 answer
192 views

Wrap every x item in tmenu

<div class="nav nav_main"> <ul class="level-1"> <li class="level-1 norm uid_2"><a class="level-1 norm" href="company/at-a-glance/"><span>Company</span>...
ntiedt's user avatar
  • 173
0 votes
2 answers
1k views

How to check if file (image) exists in TypoScript?

I'd like to check if a certain file (image) actually exists and make the output dependent on the result. How to do that in TypoScript?
santa's user avatar
  • 123
0 votes
1 answer
602 views

Typo3 Typoscript GIFBUILDER - The best way to generate a simple grayscale image

Can anyone show how to set a typoscript to simply generate grayscale image? I'm searching for the best way regardless of the imagemagick version. Is there a simplest way?
Zoran Ilic's user avatar
0 votes
2 answers
987 views

Add additional parameters in tx_news title field

<n:link newsItem="{newsItem}" settings="{settings}"> {newsItem.title} </n:link> The above code will generate a link to the details page . What I want to achieve is that , I want to add a new ...
Siva's user avatar
  • 499
0 votes
1 answer
695 views

Typo3 Neos: How to pass parameter from typoscript using 'TYPO3.Neos:Plugin'?

i wanted to pass a parameter dynamically via aloha editor, i have select box like this on .yaml properties: events: type: string ui: label: 'Events' reloadIfChanged: TRUE inspector: ...
morgan9999's user avatar
0 votes
1 answer
307 views

How do I correctly wrap a TEXT and hand it to my Template Mark ###SEARCH_FIELD###

I am currently getting back into typo3 and I have really big problems with the variable concept, it just doesn't do what it is supposed to. See the first Mark SCROLLUP, everything works fine there, ...
Marc's user avatar
  • 21
0 votes
1 answer
2k views

How to use typoscript object in fluid template as if condition

I have a typoscript TEXT object: lib.myid = TEXT lib.myid.value = 1413 And want to use it in a fluid template (for tx_news): <f:for each="{newsItem.categories}" as="category"> <f:if ...
nbar's user avatar
  • 6,088
0 votes
1 answer
858 views

How to use FAL in TypoScript with level sliding features?

I'm struggeling with this TypoScript code which doesn't work anymore in TYPO3 6.2.x because the result is now a File ID instead of the File Path: temp.header-image = TEXT temp.header-image { ...
Arek van Schaijk's user avatar
0 votes
1 answer
1k views

Give renderObj = IMAGE a class

I want to use a lazy-loader for my images. Therefore I found a JS which seems pretty comfortable. Nevertheless, my images need a class="lazy" so that the JS knows which images it should affect. The ...
Norman's user avatar
  • 805
0 votes
1 answer
217 views

Typo3 extension builder configuration settings.yaml

i've got some problems with the extension builder, especially with the configuration. The extension builder overrides all my changes ... i've added in the configuration (Configuration\...
Felix's user avatar
  • 5,541
0 votes
1 answer
656 views

TYPO3 6.2/TypoScript: add CSS class to figure tag if caption is not empty

I am wrapping my images in figure tags and the respective image captions in figcaption. Now I want to add a class to the figure tag only if the image caption is not empty. Here’s the code I tried: ...
clive beckett's user avatar
0 votes
1 answer
1k views

typoscript - iterate through array?

On my journey through TS, I came to the following question: I need to spit out a number of links on a page (and no, HMENU is not an option). I came up with the idea using an array for this. I ...
Swissdude's user avatar
  • 3,516
0 votes
1 answer
555 views

Number of alternating template parts in tx_news

Is there any possibilities tu use something like the alternating template parts in tx_news extension? In standard tt_news template I used to use <!-- ###NEWS_1###--> <!-- ###NEWS_2###--> &...
Adrian's user avatar
  • 1,002
0 votes
3 answers
2k views

How to chose the tx_news list template using TypoScript

I'm starting my "adventure" with tx_news TYPO3 extension. I created the new list template and I see it in flexform on drop down list - that is ok, but how to chose that template using only TypoScript? ...
Adrian's user avatar
  • 1,002
0 votes
1 answer
1k views

TYPO3 menu - adding HTML tags to stdWrap.override

I made a menu in TypoScript in witch I override standard title by my own texts: lib.menu = HMENU lib.menu.special = list lib.menu.special.value = 3304, 7753 lib.menu { 1 = TMENU 1 { ...
Adrian's user avatar
  • 1,002
0 votes
1 answer
82 views

TYPO3 menu based on couple of lists of ids

Is it possible to build menu in TypoScript which is based on couple of list of id's for example: List one: 20 = HMENU 20.special = list 20.special.value = 35, 56, 51, 43, 22 List two 30 = HMENU 30....
Adrian's user avatar
  • 1,002
0 votes
1 answer
371 views

Insert fe_user uid in selectwhere statement

I'm trying to insert the currently logged in fe_user's UID into a typoscript select statement. I need the total record count based on a few conditions, and get only the number of records that belong ...
R_K's user avatar
  • 377
0 votes
1 answer
216 views

Submit lib.nav to postUserFunc

I would like to generate a main json with all content elements and navigation. For this I generate a UserFunc [globalString = GP:json=1] lib.header > # include jsonProcessor.php includeLibs....
user1878413's user avatar
  • 1,813

1
16 17
18
19 20
39