[themes] tpl.php file question
J. Sint Jago
j.sintjago at xs4all.nl
Thu Apr 9 18:18:45 UTC 2009
In Pro Drupal Development this process is explained in detail. Maybe it is
hard to grasp because you have to understand the Theme Registry.
A sidestep: Assuming node-audio is a CCk-node, did you consider using
CCk-computed field.?
-----Oorspronkelijk bericht-----
Van: themes-bounces at drupal.org [mailto:themes-bounces at drupal.org] Namens
barb
Verzonden: donderdag 9 april 2009 17:31
Aan: A list for theme developers
Onderwerp: Re: [themes] tpl.php file question
> As far as I know drupal only passes the node object to node-tpl.
> You will have to process other non-related variables before trying to use
> them in your tpl file.
mhm - i thought so already, but wasnt't sure. so if i see this right,
i have to preprocess the variables in the template.php in order to make
new variables available for the node script?
i am doing this for the first time and have hardly any experience in php
- so i am really puzzled about making new variables available thru
template.php. any help would be appreciated or a link to a good manual?
(or do i have to learn php from scratch ;)
i've checked out quite some manuals but i don't really understand the
processing....
thx
b#
_______________________________________________
themes mailing list
themes at drupal.org
http://lists.drupal.org/mailman/listinfo/themes
More information about the themes
mailing list