Closed (works as designed)
Project:
Drupal core
Version:
5.7
Component:
other
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 May 2008 at 16:32 UTC
Updated:
5 Jun 2008 at 22:02 UTC
Jump to comment: Most recent
Comments
Comment #1
pog-wmt commentedbump and reclassification since i'm not positive it's a PHPtemplate problem.
Comment #2
attentat commentedfound a workaround
Comment #3
Anonymous (not verified) commentedI was going to suggest you create a module for the function. Just for documentation purposes; what was the work around?
Comment #4
attentat commentedI asked a question on the forum, and GPK explained that the theme (which is where template.php is) isn't initialized until the bottom of index.php. The workaround was to call the
init_theme()function from my node, before I call my function from template.php. Works great.