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

List:       smarty-general
Subject:    Re: [SMARTY] Smarty together with PEAR Html_Menu and NestedSet class.
From:       messju mohr <messju () lammfellpuschen ! de>
Date:       2004-05-24 12:46:04
Message-ID: 20040524124604.GB699 () dpo ! de
[Download RAW message or body]

On Mon, May 24, 2004 at 02:28:59PM +0200, Pete wrote:
> 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());

use $menu->get() not $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

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

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

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