{assign}ing global vars?

From: Date: Tue, 09 Dec 2003 20:16:30 +0000
Subject: {assign}ing global vars?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10650@lists.php.net to get a copy of this message
Hi there, (Am a newbie, sorry if I'm missing something obvious.) As I see, included templates can only assign variables locally (file-scoped or something like that). I guess conf variables are global, but they are treated differently from normal template vars (at least the syntax differs.) 1. How do conf. vars actually differ from templ. vars? (And if they really do, why (the hell ;) )?) 2. Can I achieve global scoping of normal template vars similar to conf vars? (I'd like to include common files that both output things and {assign} variables for the including (parent) file. Thanks very much, Sz.

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