| | | | |
| | |
| Gast
Beiträge: n/a
| Hallo. Mein Gebastele hier liest MEHRERE Beschreibungen aus einer Datenbank und diese möchte ich daraufhin gleich mit dem PEAR Textwiki rendern. Wie mache ich das auf einen Schlag? Smarty beherrscht Objekte in seinen Templates aber irgendwie steig ich da nicht durch. Wie kann ich also meinen textwiki parser in der template auf meinen inhalt anwenden? Nebenbei das ganze wird noch geloopt falls das was ausmacht. Hier ist der Link zur doku vielleicht bekommt jemand das hin http://smarty.php.net/manual/de/adva...atures.objects Falls jemand ne bessere Idee haben sollte nur raus damit. So begeistert bin davon auch nicht so ein Klassenaufruf in Smarty zu händeln. danke. PHP-Code: Code: {foreach from=$data item=row}
{$row.name}
{/foreach}
|
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Smarty + MySQL = immer falsche Ausgabe | m0use` | PHP Tipps 2006 | 44 | 21.11.2008 20:30 |
| Problem mit Smarty | ccfirefox | HTML, Usability und Barrierefreiheit | 1 | 25.10.2007 16:19 |
| Was ist Aufgabe des Templates (Smarty), was nicht? | agrajag | PHP Tipps 2007 | 8 | 24.02.2007 13:19 |
| Smarty + Oop Problem | Komandar | PHP Tipps 2006 | 5 | 25.07.2006 14:36 |
| Smarty verschachtelt | snatch-ic | PHP Tipps 2006 | 16 | 28.02.2006 20:54 |
| Smarty: Variable als Template ausgeben | duderino | PHP Tipps 2006 | 11 | 08.01.2006 18:43 |
| template in template einfuegen | tonne | PHP Tipps 2005-2 | 8 | 10.11.2005 22:24 |
| Smarty installiert und nun? | Cyrus | PHP Tipps 2005-2 | 5 | 28.10.2005 16:14 |
| Smarty Error | Simon9990 | PHP Tipps 2005-2 | 8 | 07.07.2005 09:34 |
| Template: Verschachteln von foreach | PHP Tipps 2005 | 2 | 12.05.2005 15:37 | |
| Smarty Problem (Template Laden) | JanM | PHP Tipps 2005 | 5 | 11.05.2005 16:36 |
| [Erledigt] includepathproblem pear blockiert smarty und umgekehrt | PHP Tipps 2005 | 1 | 08.05.2005 18:46 | |
| [Erledigt] Template Parser | PHP-Fortgeschrittene | 9 | 06.10.2004 23:04 | |
| Smarty als Template System?! | PHP Tipps 2004 | 16 | 22.07.2004 11:22 | |
| Smarty Template System: If Anweisung? | PHP Tipps 2004 | 2 | 18.07.2004 19:31 | |
| Besucher kamen über folgende Suchanfragen bei Google auf diese Seite |
| text_wiki, pear text_wiki, text_wiki smarty, smarty templates in templates, \smarty template aus datenbank\ laden beispiel, smarty mediawiki |

Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.