[themes] passing variables to a tlp.php file

Matt Funk matze999 at gmx.net
Wed Oct 28 16:14:51 UTC 2009


Hi,

this is probably a basic question for most, but i am stuck on this.

I have a custom module enabled which has a function:
theme_mymod_myfcn($myarg) {
  ...
}

I am trying to override this fcn via the file:
mymod_myfcn.tpl.php

However, whenever i try to print $myarg in the tpl.php file it appears to be 
empty. Why?

Is there a way to access the $myarg variable in the tpl.php file. 

thanks
matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/themes/attachments/20091028/851b5fa7/attachment.html 


More information about the themes mailing list