Re: custom function failure

From: Date: Tue, 27 Mar 2001 19:31:04 +0000
Subject: Re: custom function failure
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-458@lists.php.net to get a copy of this message
Thank you! It worked! ----- Original Message ----- From: "Andrei Zmievski" <andrei@ispi.net> To: <taliku@balcab.ch> Cc: <smarty@lists.ispi.net> Sent: Tuesday, March 27, 2001 9:17 PM Subject: [smarty] Re: custom function failure > On Tue, 27 Mar 2001, taliku@balcab.ch wrote: > > Ok, i did what you said, but now i get one menu-"point" with "H". Nothing > > more. > > > > I did the following: I looked at other custom functions. in every function > > you do: > > > > extract(func_get_arg(0)); > > > > so i added it to my code, it's what you said, right? > > You have to pass your menu like this, probably: > > {makemenu > menu='"home_/_news","projects","downloads","gaming","my_n-theme","site_info" ' > qstring=$qstring} > > And then split by commas in your custom function. > > -Andrei > > Programming X-Windows is like trying to find > the square root of pi using roman numerals. > - Unknown > > --- > You are currently subscribed to smarty as: taliku@balcab.ch > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/

« previous php.smarty.general (#458) next »