Lang block

Hi. How can I place thelang block into the header?
I did like this but doesn't work:
in 'home.html'

Quote

< !-- {pnBlockShow('core','thelang',pnBlockGetInfo(30));} -- >

icon_confused

He lp me!!!



edited by: ZunnaR, Aug 14, 2006 - 02:26 PM
If your pnBlockShow call is correct then the following code may work:

Code

<!--[pnBlockShow('core','thelang',pnBlockGetInfo(30));]-->




edited by: TTH_Erik, Aug 15, 2006 - 05:04 AM
It didn't work. It show error:

Fatal error: Smarty error: [in modules/home.htm line 46]: syntax error: unrecognized tag: pnBlockShow('core','thelang',pnBlockGetInfo(30)); (Smarty_Compiler.class.php, line 436) in .../includes/classes/Smarty/Smarty.class.php on line 1088

How can I call PHP function in HTML? icon_frown
I'm not able to test it right now, but this is probably not too far away:

Code

<!--[pnblockshow module="core" blockname="thelang" block="30"]-->
Thanks Erik.