[themes] overriding function in template.php

Matt Funk matze999 at gmx.net
Thu Oct 11 20:54:22 UTC 2007


Thanks for the pointers,

i am reading that chapter right now and light bulbs turn on right and left. I 
also ordered the whole book. Wow, this should really be recommended to 
everyone (who is like me anyway).

thanks
mat

On Thursday 11 October 2007 11:50, you wrote:
> On Thu, Oct 11, 2007 at 11:24:53AM -0600, Matt Funk wrote:
> > I'll try your advice. Really what i was trying to achieve is more or less
> > just learn about Drupal. Specifically i actually wanted to get some
> > insight into the flow of things. So i was trying to override a function
> > which at first does not change anything in terms of the rendered webpage.
> > And then from there change little things just to see what happens. Pretty
> > basic i guess, but obviously too hard for me ... :)
>
> Since you are already using phptemplete callbacks, you are a theming ninja.
> Atleast Pro Drupal Development's authors think so :-)
>
> > One other thing, if i follow what you said, i.e. drop 
> > block-user-0.tpl.php into the theme folder, wouldn't i have to define a
> > callback somewhere?
>
> N
>
> Download Pro Drupal Development's chapter on theming here
> http://www.apress.com/book/downloadfile/3486 and then read page 120.


More information about the themes mailing list