Re[2]: [SMARTY] smarty and sympoll

From: Date: Tue, 06 Aug 2002 12:51:00 +0000
Subject: Re[2]: [SMARTY] smarty and sympoll
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5599@lists.php.net to get a copy of this message
Hello Valerio, Tuesday, August 06, 2002, 11:07:47 AM, you wrote: > Here's a piece of the code I used to integrate sympoll in an existing site > using Smarty: > require 'sympoll/booth.php'; $tpl->>assign("poll", newest_booth(1)); > And you've only got to put a {$poll} tag in your template. yes, i've tried that and there's another problem: the poll appears before anything else on the site, but the {$poll} variable is placed in a table cell <td>{$poll}</td> on the lower part of the site. does anyone have any suggestions how to prevent the poll code from being executed before <html><head> elements?? -- Michal Krowiarz krowiarz@probasket.pl http://www.probasket.pl

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