Project

General

Profile

Actions

Feature #87446

closed

Global variable 'SITE:'

Added by corbet dynie over 5 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
Start date:
2019-01-15
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

It would be nice to get a new variable like 'EXT:' for the site/s path.
So you can use it at 'includeJS', 'includeCSS', etc.
'includeJS.file1 = SITE:/js/file1.js' => /typo3conf/sites/default/js/file1.js

Possible solution:
'SITE:/' => path from the current site (eg.: /typo3conf/sites/default)

'SITE:<identifier>/' => path from the selected site (eg.: /typo3conf/sites/<identifier>)
'SITE:custom1/' => path from the selected site (custom1) (eg.: /typo3conf/sites/custom1)

Actions

Also available in: Atom PDF