Entries tagged as typo3
PHP Code in Typo3-Seite, die zweite
Monday, December 5. 2011
lib.field_irgendwas = PHP_SCRIPT_INT
lib.field_irgendwas.file = fileadmin/pfad/scriptname.php
Typo3 backend looks broken after upgrade
Friday, February 4. 2011
I upgraded typo3 sources from typo3_src-4.2.12 to 4.4.8 recently and though I followed the steps described for upgrades it looked rather bad, especially the backend presented itself in quite a broken and unusable way. I was already pondering to roll back the changes but luckily then found an easy cure for the apparent illness:
just had to edit typo3conf/localconf.php to include
$TYPO3_CONF_VARS["BE"]["compressionLevel"] = '0';
and all went back to nice & normal
PHP - Code in Typo3-Seite
Tuesday, March 2. 2010
Weiter nichts weltbewegendes aber ich musste zunaechst ein paar Irrwege gehen, bis ich auf den Weg fand, PHP-Code im Template einer mit typo3 generierten site einzubinden. Man setzt ein Mark
###EINDEUTIG###
an der Stelle im template-.html, wo die Ausgabe des scripts erscheinen soll, erstellt ein externes script mit der gewünschten Funktion, das am Schluss den output in eine Variable $content legt, und bindet die im typo3- back end ein, indem man da unter Template:Info/Modify:Setup einträgt:
page.10.marks.EINDEUTIG = PHP_SCRIPT_INT
page.10.marks.EINDEUTIG.file = fileadmin/Pfad/meinScript.php