You are here: Re: [SMARTY] Smarty and frames « Smarty Templates Posts « IT news, forums, messages
Re: [SMARTY] Smarty and frames

Posted by boots on 09/20/05 23:15

--- "pobox@verysmall.org" <pobox@verysmall.org> wrote:
> Is a page build by Smarty containing frames considered one php/Smarty
> process (if I can call it so)?
>
> It is like this -
>
> index.tpl evaluates variable $_GET['f'] and if false, loads
> frameset.tpl. frameset.tpl contains two or three frames (the number
> is
> not important) - each frame calls _again_ index.tpl passing this time
> $_GET['f'] set to true. this makes index.tpl not to load
> frameset.tpl,
> but to load the individual pages.
>
> What I noticed is that variables (both Smarty and php $GLOBALS) set
> by
> plug-in in the first load of index.tpl (before the frameset) do not
> survive into the second call of index.tpl (after the frameset).
>
> So, the question again - are the pages loaded by the frameset
> different
> php/Smarty processes (as it seems) from the php/Smarty process that
> loaded the frameset - even if it _seems_ that it is one?
>
> I think the answer is obvious, just wanted to make sure.

Yes, of course. Frames are a function of X/HTML and the client. Each
frame in the frameset causes the client to establish a separate request
for the frame contents. Whether you use Smarty or not has no bearing on
this functionality.

> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

 

Navigation:

[Reply to this 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

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