Project

General

Profile

Actions

Bug #86872

closed

Add class of html tag to site configuration

Added by Jan Kiesewetter about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-11-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Before site configuration, I did something like this to add class and lang to html tag:

config {
  # ...
  htmlTag_setParams = lang="de" class="no-js" 
}
[globalVar = GP:L = 2]
  # ...
  config.htmlTag_setParams = lang="fr" class="no-js" 
[globalVar = GP:L = 3]
  # ...
  config.htmlTag_setParams = lang="it" class="no-js" 
[globalVar = GP:L = 4]
  # ...
  config.htmlTag_setParams = lang="en" class="no-js" 
[GLOBAL]

As lang now comes from site configuration, it would be nice to define the class there, too or in a additional property of config.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #86854: Allow adding custom attributes on HTML-TagClosed2018-11-05

Actions
Actions

Also available in: Atom PDF