skip to Main Content

Pass Javascript variable to TYPO3 variable

With the following JS I get the height of a div document.addEventListener( "DOMContentLoaded", () => { const element = document.getElementById("c27"); let text = element.offsetHeight + "px"; document.getElementsByTagName("divSize").??? = text; } ); Now I want to pass the variable to a…

VIEW QUESTION

TYPO3 StandaloneView not finding Templates – PHP

I am using the StandaloneView to output some data. The problem I encountered is that the given TemplateRootPath is just ignored. TYPO3 throws an exception saying that it looked for the template in /typo3/public/typo3conf/ext//Resources/Private/Templates/ but the given TemplateRootPath is one…

VIEW QUESTION
Back To Top
Search