Reply to Re: Smarty "Flush"? (Displaying Smarty templates in parts)

Your name:

Reply:


Posted by petersprc on 07/08/07 23:39

Setting table-layout to fixed and specifying column widths with <cols>
can sometimes speed up incremental table rendering. Example:

http://msdn2.microsoft.com/en-us/library/ms533002.aspx#layout

Removing or re-working nested tables might help also.

Smarty output gets flushed periodically just like a regular PHP
script. You could also force it with:

{php}flush(){/php}

On Jul 8, 6:10 pm, Sharon <2goo...@gmail.com> wrote:
> Hi,
> I have a smarty template with about 500 rows, that take a long time to
> load.
> I was wondering if there was a way to display it by parts (i.e. first
> of all display the first 100 rows, then rows 100-200 and so on)
> Thanks
> Sharon

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация