Afficher un message
Vieux 23/01/2006, 12h00   #6
messju mohr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] Controling buffer: php/smarty or apache?

On Mon, Jan 23, 2006 at 06:13:35AM -0400, robert mena wrote:
> Hi Vicente,
>
> Thanks for the reply.
>
> I suppose you mean having separate tpls for the segments of the page and
> calling smarty->display several times for each tpl?


no. just turn off output-buffering in php (see my other post).

> Is there any other way such as a flag in smarty to disable this buffer? I
> am assuming that smarty does ob_start at the beginning of the execution.


no, it doesn't. (see my other post).

> tks,
>
>
> On 1/23/06, Vicente Werner <vwerner@gmail.com> wrote:
> >
> > Smarty buffers all the output until you do a $smarty->display or you echo
> > the fetched output through $smarty->fetch. That's why it appears to be
> > drawn
> > at once.
> > One thing you can do it's to slice the page into three or four objects
> > that
> > can be rendered incrementally (you render the header and display it, then
> > go
> > for the body, footer, etc..)
> >
> > --
> > Vicente Werner y Sánchez
> >

  Réponse avec citation
 
Page generated in 0,04572 seconds with 9 queries