Theming

Creating A Low Bandwidth Theme In Drupal

2017-03-31T06:20:06+00:00 Categories: Drupal, Theming|

One of our clients has a large world-wide user base, in many locations where Internet access is limited. In addition to developing for mobile browsers, they also wanted a “low bandwidth” version of the site, optimized for older computers and dial-up connections. Using a handy module and some theming tricks, [...]

Can’t Add CSS, JS, RSS Icon Or Set Title Or Messages In Preprocess Page?

2017-03-31T06:20:22+00:00 Categories: Drupal, Theming|

Often you want to add CSS files, scripts, feed icons or even set Drupal's page title from the theme layer. The most obvious place to call Drupal's functions for these tasks is probably in a page preprocess function. However calling the following Drupal API functions from a theme or module's [...]