Tag: theme
-
Managed file upload in Drupal theme settings
So you want to add a managed file field to your theme settings to allow for an additional logo, great! Using FAPI and a theme-settings.php file it will be a piece of cake. Not so fast…. The sticking point here is that a managed file once uploaded has to have its status changed to 1…
-
Adding classes to the Drupal image_formatter link
So you are using Drupal, and you are outputting an image field from a node to the screen. You have it set up so that the display is using an image_style to generate a thumbnail, and you are linking to the full size image. All great, except you want an additional class on the link….…
-
Theming WordPress using Thematic and Compass
Recently I have started to play with making my own themes for WordPress. Rather than start from the ground and reinvent the wheel, I decided to use a base theme which I can then extend. I also opted to use the brilliant Compass css framework to speed up development. Im going to talk about how…