Hey guys, I added a new block containing this as php code:

<?php
$languages=localizer_block_switchuilocale_links(variable_get('localizer_switchblock_showflags', TRUE), variable_get('localizer_switchblock_showlangname',TRUE), variable_get('localizer_switchblock_flagseparator', ' ', FALSE));

foreach($languages as $i=>$link) {
  echo $link . ' | ';
}
?>

But now my whole page is screwed up. I get this error. Please help.

Fatal error: Call to undefined function localizer_block_switchuilocale_links() in /home/riccardo/domains/alizee-fanpage.com/includes/common.inc(1450) : eval()'d code on line 2

Comments

Riccardo83’s picture

I got it, asked my mate to search for a string in the database and he deleted it. Sorry to bother...

Check out my blog
http://blog.riccardo-ulpts.com

WorldFallz’s picture

You've just discovered the reason to alwaystest block code in a page first. ;-)

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz