Re: custom function failure
| From: | Andrei Zmievski | Date: | Tue, 27 Mar 2001 19:17:25 +0000 |
| Subject: | Re: custom function failure | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-456@lists.php.net to get a copy of this message | ||
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