Entries tagged: php

May 13

Static variables and unset()

May 08

Drupal - replace colors in buttons with color.module

!/assets/2008/5/8/color-module-example_2.gif! Drupal Color.module allows the admin to change the color scheme of a theme completely. Color module basically fill viewport with 5 choosen colors, layout transparent PNG on it and then makes image slices and update CSS with this colors. I would like to share some code that customize color.module further. After color scheme is choosen specified images would be copied and colors updated to reflect current color scheme. This is especially useful for creating buttons that should be color aware.

Mar 31

Ruby / Rails alternative to PHP print_r() and var_dump()