personalization using smarty

From: Date: Wed, 14 Aug 2002 09:28:13 +0000
Subject: personalization using smarty
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5695@lists.php.net to get a copy of this message
Hello everyone, I'm new to Smarty and have a great problem, at least for me. i need to make fully customizable website (user can choose which module he wants to have in which column and so on). i've made modules and i keep them in database (as HTML code), and when the user visits the main site, i get them out of the DB and put them to the page code. but here's the problem: if the module is static (so it remains the same all the time, no dynamic changes made), everything works just fine, but when there's something that needs to be parsed by Smarty, it's not. for example, module called 'Poll Display': /---poll display code---/ <table> <tr><td height=6></td></tr> <tr><td background=http://localhost/img/belka_right.gif class=leftMenuHeader height=16>Sonda</td></tr> <tr><td> {php} require './sympoll/booth.php'; display_booth(4); {/php} </td></tr> </table> /---end poll display code---/ and that's what i get in IE: {php} require './sympoll/booth.php'; display_booth(4); {/php} instead of the poll can anyone help me with that? -- Michal Krowiarz michal@probasket.pl http://www.probasket.pl

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