Module Development: Drupal 7 Theme functions and templates - Daily Dose of Drupal episode 40

preview_player
Показать описание
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

Links:
Рекомендации по теме
Комментарии
Автор

thankyouthankyouthankyou! I KNEW I was missing some fundamental concept. This nailed it.

kevinard
Автор

you have made my life easier!! thanks a lot!!

Manolete
Автор

that's what i'was  looking for thanks a lot :)

dohafaridi
Автор

Do I need the theme_my_example_function() ... Function if I work with .tpl.php-Files? Because I'm trying to use my .tpl.php file and it doesn't work. Getting mad and need some help :-/

scepticore
Автор

But the theme is the same. How can I render another theme?

subgero
Автор

y is the tutorial so blurr?? can hardly see anything ..

soujanyapandit
Автор

unable to see example code..very much blurred..

ABAbhay
Автор

Okay, forget my comment, I think I made it... :D

scepticore