Codekarate Content

By shane
Thu, 2012-11-01 00:39
1 comment
Daily Dose of Drupal Episode #41

This episode continues on where the Daily Dose of Drupal episode 40 left off and goes over how a Drupal 7 theme function and theme template that has been created in a module, can be overridden inside a Drupal 7 theme.

In this episode you will learn:

  • How to override the output of a theme function inside your theme
  • How to override the output of a theme template file inside your theme
By shane
Tue, 2012-10-30 22:00
1 comment
Daily Dose of Drupal Episode #40

Learn how to add theme functions and template files to you Drupal 7 module. This episode builds upon the my_example module created in the last episode and adds in a hook_theme implementation along with simple examples on how to create a theme function and template file in your module.

In this episode you will learn:

  • How to add a hook_theme implementation to you your Drupal 7 module
  • How to add a theme function in your Drupal 7 module
  • How to create a theme template file (.tpl.php file) in your Drupal 7 module
By shane
Mon, 2012-10-29 19:19
2 comments
Daily Dose of Drupal Episode #39

Printing out straight HTML in your custom modules was so Drupal 6. Learn all about Renderable Arrays in Drupal 7 to make your Drupal 7 pages even more flexible.

In this episode you will learn:

  • The basics of Drupal 7 Renderable Arrays
  • How to implement a simple Renderable Array Drupal 7 example