Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Mehrdim. Array

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German
View previous topic :: View next topic  
Author Message
Pin
Smarty n00b


Joined: 02 Feb 2005
Posts: 2

PostPosted: Wed Feb 02, 2005 4:49 pm    Post subject: Mehrdim. Array Reply with quote

Hallo,

ich habe erst angefangen mich mit smarty zu beschäftigen, leider weiss ich nicht ob folgendes machbar ist und wenn ja wie ich es am besten lösen kann.

ich habe die suche benutzt konnte aber leider nichts vergleichbares finden.


ich habe eine menübox erstellt:

Code:

{section name=rows loop=$Menumain}
<table width="135" border="0" cellpadding="0" cellspacing="3" class="tabelle">
<tr>
<td class="zelle"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="blocktop" ><img src="{$image_pfad}/headlines/{$Menumain[rows]}.gif" alt="{$Menumain[rows]}"></td>
</tr>
<tr>
<td bgcolor="#FBFBFB" class="breakline"><img src="{$image_pfad}/blank.gif" width="1" height="1"></td>
</tr>
<tr>
<td align="left">
???
</td>
</tr>
</table></td>
</tr>
</table>
<br>
{/section}


dort wo die ??? stehen sollen die links erscheinen.



in der php habe ich das:

[php:1:1fb87cbb43]<?php
$smarty->assign("Menumain", array("ubersicht", "statistik_menu", "community"));
?>[/php:1:1fb87cbb43]

damit erzeuge ich 3 solche menüboxen, ich habe schon einige sachen porbiert, aber es endet meist damit damit er mir die links die in der 1. box(ubersicht) auch in box 2 und 3 anzeigt.

hat jmd einen tipp, wie ich das sinnvoll lösen kann?
Back to top
View user's profile Send private message
Pin
Smarty n00b


Joined: 02 Feb 2005
Posts: 2

PostPosted: Wed Feb 02, 2005 8:10 pm    Post subject: Reply with quote

habe was ähnliches gefunden:

http://www.phpinsider.com/smarty-forum/viewtopic.php?t=4375

und mein problem gelöst.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP