I'm getting "no such function" errors when I try using your theme functions....???

bflora - May 5, 2008 - 04:00
Project:Acidfree Albums
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi there,

I'm trying to use the following function in my theme:

theme_acidfree_print_full_album($node)

And I'm getting a big fat PHP error as it says the function doesn't exist. A few things.

1. I'm assuming that $node represents the nid of the album I'm trying to reference. your documentation doesn't say.
2. I'm assuming I can call out to this function without having to add it to my theme.tpl.php file in my theme. I'm perfectly happy with how albums are displayed by default and I just want to do it that way.

Why isn't this function "showing up"?

#1

bflora - May 5, 2008 - 04:23
Category:bug report» support request

changing category

#2

vhmauery - November 1, 2008 - 23:36

this sound like it might be related to http://drupal.org/node/179362

If it is, mark it as duplicate. That issue has a hacked work-around patch that is not worthy of being committed, but it does seem to fix the problem for them.

 
 

Drupal is a registered trademark of Dries Buytaert.