Creating Variables
Publié le sam, 04/07/2009 - 01:20 par robin
Dans cette vidéo, Bob Christensen explique comment créer ses propres variables (php) dans template.php. Elles seront disponibles ensuite dans vos templates de page page.tpl.php.
Attention ! Cet article/vidéo est en Anglais.
On this week's Mustardseed podcast, Bob returns from his holiday hiatus to show you how to make new variables available in your theme template files. This will help you clean up your theme templates and get used to doing all theme logic in the template.php file. Don't forget to check out the options for template_preprocess!
Auteur:
Bob Christenson Site(s) Web:
- Auteur :
- Mots-clés :
- 2058 lectures
Modules Drupal :
actions
blocktheme
blogtheme
calendar
CCK content construction kit
content-unpublish
content taxonomy
context
date
display suite
drupal administration menu
drush
drush make
Embedded Media Field
FeedAPI
Feed Element Mapper
GMap Module
imagecache
imagefield
locale
location
node reference url widget
Organic groups
Override Node Options
path
pathauto
path redirect
permissions lock
profile
rules
sexybookmarks
Similar by Terms
simplenews
site-map
sitemenu
swf tools
taxonomy block
taxonomy blocks
taxonomy menu
thickbox
trigger
twitter
update status
upload
Vertical Tabs
views
views attach
views rotator
views slideshow
wysiwyg api

Commentaires :
Poster un nouveau commentaire