suggestion from monte
| From: | taliku at balcab dot ch | Date: | Wed, 28 Mar 2001 11:16:06 +0000 |
| Subject: | suggestion from monte | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-470@lists.php.net to get a copy of this message | ||
I didn't worked.
First i tried your example as it was. I get the menu points, but no titles,
all links are ?$menu[$i] and no menu-names.
Then i tried to use %mystuff.index% but it did not wok to. I get an
template-syntax-error. i tried to replace ?$menu[$i]
with ?{$menu/{%mystuff.index%}} and other things, but i always get an syntax
error.
This is how i "give" the template the $menu : $tpl->assign("menu",$menu);
$Menu looks like this: $menu =
array("home_/_news","projects","downloads","gaming","my_n-theme","site-info"
);
And i dont understand how to give the template a boolean information about
the $QUERY_STRING.
Thx in advance...
taliku
sorry for my english :)