Using localizer function in block doesn't work

BarisW - October 31, 2008 - 22:04
Project:Localizer
Version:5.x-3.13
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I need the function localizernode_get_localizednid() inside a block to get the translated version of a node I call inside a block. In this block I use a SQL query to get to latest node of a specific subset, and then display the translated version (depending of the users locale).

However, when I call localizernode_get_localizednid I get an error (function doesn't exist). It worked with an older version of localizer but since today, after I switched to 3.13 I receive this error.

Is there a way to make Drupal aware of this module before parsing the blocks?

#1

BarisW - November 4, 2008 - 13:23

anyone?

 
 

Drupal is a registered trademark of Dries Buytaert.