parse string

From: Date: Tue, 11 Feb 2003 08:16:12 +0000
Subject: parse string
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7631@lists.php.net to get a copy of this message
Hi! i\'ve made some kind of CMS and all my pages is saved in DB. I save only content not headers and footers. For this i have some index.tpl with {$content} inside and before i output i assign content i get from DB. Now i want to use some smarty tags in this content. For example {include}, because i have a lot of pages where i show some menu and if i change this i have to change on all of pages. I make this menu and save it in menu.tpl. Is it possible to parse string from DB and include this menu.tpl in it and then assign to {$content}. -- tia, Uros

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