| Topic: | Lang block |
|---|---|
|
ZunnaR
Freshman
Posts: 3 Posted: |
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));} -- > He lp me!!! edited by: ZunnaR, Aug 14, 2006 - 02:26 PM |
|
TTH_Erik
Freshman
Posts: 11 Posted: |
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 -- Erik from www.TenTonHammer.com |
|
ZunnaR
Freshman
Posts: 3 Posted: |
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? |
|
TTH_Erik
Freshman
Posts: 11 Posted: |
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"]--> -- Erik from www.TenTonHammer.com |
|
ZunnaR
Freshman
Posts: 3 Posted: |
Thanks Erik. |