Passing variables between different Drupal hooks using context API

Felix :

Drupal's nature of using hooks to allow functionality override by contributed modules, by the same token it is difficult to have data available between different hook implementations during the request process, specially if they are overridden. Simply we just need to have certain values available overall the system, once they are set.

Posted 11/14/2011 - 09:43 // 2 comments

Drupal 6 Theming for Module Developers - Suggesting TPLs From a Module

Irakli:

The ability to write self-contained modules (thank you, Hooks API!) and a very flexible theming layer are two important aspects behind the power and extensibility of Drupal. The following blog post describes how to leverage this power and write "proper" modules - modules that externalize all rendering logic into TPLs, suggest default implementation but allow themers to override default TPLs if needed. Several use-cases are discussed.

Posted 04/10/2010 - 12:08 // 2 comments

Drupal: Expose a Custom Field to Views2

Irakli:

Here is a quick introductory tutorial exposing columns in custom tables as fields in Views2. Sometimes you need to store auxiliary data outside the nodes/CCK tables, but you still want to allow Views to handle the data. Here's how to do that.

Posted 01/26/2009 - 20:00 // 1 comment