[TYPO3-dev] Reuse constant in constants.txt

NGUYEN Duc Quan quan at apart.lu
Sun Dec 13 13:12:17 CET 2015


Hi

I am quite new to the whole typo3 and typoscript world. So I was wondering if it would be possible to reuse a constant defined in constants.txt?

# This is the main constant

RES_DIR = EXT:myextension/Resources



# These constants should use the main constant

JQUERY_FILE = {$RES_DIR}/Public/js/jquery.min.js
BOOTSTRAP_FILE = {$RES_DIR}/Public/js/bootstrap.min.js
COACHINGCLUB_FILE = {$RES_DIR}/Public/js/coachingclub.js



Thanks for the clarification!



More information about the TYPO3-dev mailing list