David Ansermot Web Developer / TYPO3 Integrator

24fév/110

TYPO3 – Clear cache tips

I made this small post to put together all the "tips" I know about TYPO3 clearing cache. All tips are TypoScript config lines. No customization or extensions.
Here we go.

22oct/100

Tutorial – CSS display property

I've discovered an article that is perfect for CSS developers.
It contains the browser's compatibility table for each property's values.
An explication about each values.

At the bottom you have a little package of divs to test differents configurations.

Take a look

28sept/100

Magento : Run a specific store or website

If you have a single Magento installation with multiple websites/stores and you want, for exemple like me, adding ajax functionalities, you'll need to load magento framework in your ajax page.

To do this you can use this tip :

// Put the website or store code (default: 'base')
$code = 'store/website code';
// Put the type to load ('website' or 'store')
$type = 'store' or 'website';

// Load magento framework
Mage::app($code, $type);

// Load magento framework and run the website/store
Mage::run($code, $type);

Now you'r able to use magento framework functionnalities.

3mar/100

JS – setInterval tip

You want to use the Javascript function setInterval() but you dont know how ?
Or you tried but it doesn't work ?

I think you do the thing like this :

var timerId = setInterval('myFunction', 200);

but it doesn't works.
Try like this :

var timerId = setInterval(function() { myFunction(); } , 200);

Hope this snippet helps you.
See ya !