Include TypoScript from file

To include TypoScript from an external file you can add this line to the setup or constants part of a template record in Typo3 Backend: <INCLUDE_TYPOSCRIPT: source=”FILE: fileadmin/typoscript.ts”> To see your changes immediately, you should add the no_cache flag to your default config: config.no_cache = 1 This disables the caching of your TypoScript.

Performance optimized attribute saving

Sometimes, when you have to handle many data-sets, it is more efficient to save only those attributes that have changed: // load product $product = Mage::getModel(“catalog/product”)->load(142);   // change attribute $product->setTitle(“Test”);   // tell resource attribute to save only the specified field $product->getResource()->saveAttribute($product, “title”);