Emiliano <[EMAIL PROTECTED]> wrote:
> Arnaud ASSAD wrote:
>
> > The variables created in one part of my page ( my element element
> > 'myheader' in 'code-compat')
> > Seems to be unpassable to one other part of the page (in the content
> > element of the body they seem undefined)
>
> For midgard-php3 the variables will be part of the constructed page, so
> no
> problems there. For midgard-php4, come to think, I don't really know.
> Are
> variables that are declared in an eval available outside it? I would
> think
> so but haven't tested it.
in php4, preparsed elements <[element]> are replaced by
mgd_eval('?>'.mgd_template("element").'<?')
I'm using variables declared in different elements without any problem.
The only issue would be with the &(var.member:i); formatter. The variable $var needs
to be declared in another (previously included) element than the one using it with :i
> Emile
--
Best regards,
David Guerizec
http://www.midgard-project.org/
http://www.guerizec.net/david/
[This mail has been sent by imuable v0.2b]
[If you find something wrong, please send]
[a message to [EMAIL PROTECTED], Thanx]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]