Lighttpd is awesome and very fast webserver. But has one big disadvantage – is not reading apache .htaccess files with rewrite settings. Unfortunatley you need to create them manually in config file. How? Examples are below:
Some usefull function for managing attribute values in Magento.
Last time I mentioned about Magento attributes, how to create them from model. Ok – but examples was quite simple. This time a little bit more explenation.
You can grab all existing categories in Magento to array, here is quick example: