[keyword] theming

Drupal7 Cascading Stylesheet (CSS) tips

TIP: drupal_add_css($data = NULL, $options = NULL) has an $options['type'] = 'inline' ! Noting that element-level CSS is overwritten in the cascading sequence by any page or file CSS, this option can be handy way of introducing on-the-fly CSS classes to format individual page elements.

Drupal7: render arrays

There is a lot of overlap between information here and the Drupal7 theming zone and the Drupal7 Forms, the Form API (FAPI), and Forms tutorials section.
GOTCHA: from How to nest elements in a render array :

If an element is given #markup, the render process stops searching for nested elements. 2011, tim.plunkett

TIP: Responsive web design (how to handle different devices and environments)

From Responsive web design:

' resources for Responsive Web Design, a strategy for optimizing the display of a web site using CSS and JavaScript to respond to different device capabilities.'

Excellent and growing guide to a very complex subject.

Drupal7 theming

This zone is not yet another exhaustive explanation of Drupal theming, it mostly just collects the most important and useful links (best examined in detail) at the time of writing, as relevant to Drupal7.

There is a lot of overlap between information here and the Drupal7: render arrays section and the Drupal7 Forms, the Form API (FAPI), and Forms tutorials section.
Subscribe to RSS - theming