[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smarty-general
Subject:    [SMARTY] Smarty together with PEAR Html_Menu and NestedSet class.
From:       82.83.1.153
Date:       2004-05-24 12:28:59
Message-ID: 20040524122901.84758.qmail () pb1 ! pair ! com
[Download RAW message or body]


Hi,

i am using the PEAR Html_Menu class.
This class creates a table with the following function call:

$menu->show()

When I try do an assign:

$page->assign('menu', $menu->show());

It doesn't pass the var menu but prints the menu right away at the top =
of the screen.
Is it possible to pass an object to Smarty and call its function from =
there so I get the menu at the right place on the html page ?

Thx

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic