Red Crackle Blog

How to override theme functions in Drupal 7

Before overriding theme functions, let us understand the concept of theme function.

In Drupal, a theme function is a PHP function that is used to output the HTML of any Drupal object. These functions are prefixed with theme_. All the functions that produce HTML are themeable and are invoked using theme() rather than being directly called.

We can override theme functions in template.php.

Using views filter in Drupal 7

Filters are used to specify selection criteria to select required records from a table. Therefore, using filters in views can help us reduce the result set to the required amount of data. We can add multiple filter criteria. In Drupal 6, all the filters are ANDed together, but in Drupal 7, we have the option to add the criteria as AND and OR.

SASS - Syntactically Awesome Stylesheets

Sass is an extension of CSS3.  It is translated to well-formatted, standard CSS using the command line tool or a web-framework plugin. Most commonly used syntax of sass is "scss". SCSS files use the extension ".scss". The other syntax is "sass". We will talk about scss here.

Advantages of scss over css

Ready to get started?REQUEST A QUOTE