- Moderated by:
- Support
-
- rank:
-
Freshman
- registered:
- August 2006
- Status:
- offline
- last visit:
- 16.08.06
- Posts:
- 3
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 -
- rank:
-
Freshman
- registered:
- July 2006
- Status:
- offline
- last visit:
- 16.08.06
- Posts:
- 11
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 -
- rank:
-
Freshman
- registered:
- August 2006
- Status:
- offline
- last visit:
- 16.08.06
- Posts:
- 3
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?
-
- rank:
-
Freshman
- registered:
- July 2006
- Status:
- offline
- last visit:
- 16.08.06
- Posts:
- 11
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
