[Templates] using frames?
Rafiq Ismail (ADMIN)
rafiq@joshua.dreamthought.com
Wed, 4 Sep 2002 16:31:20 +0000 (GMT)
"That word, I do notta think itta mean what you thinkitta means."
- Enigo Montioa, The Princess Bride.
Assuming that layeout.cell[1..n] contain the uri's or paths to
html/templates which you wish to load into your frames. The include would
just "include" the template into your current template. You don't really
want another document to be placed within <frame src="<big document/>"/>
tags. So if you're using frames, think of each frame as holding it's own
template.
'tis what I think you mean.
me.
On Wed, 4 Sep 2002, Kirk wrote:
> hello, newbie question...how can i use an html frameset with tt2? i like to
> use the frameset page and also the tt2 'include' directive, something like
> this:
>
> <FRAMESET rows="71,*" cols="159,*" frameborder="NO" border="0"
> framespacing="0">
> <FRAME name="cornerFrame" scrolling="NO" noresize src="<!--#INCLUDE
> $layout.cell1 -->" frameborder="NO" frameset cols="10,10">
> <FRAME name="topFrame" scrolling="NO" src="<!--#INCLUDE $layout.cell2 -->"
> frameborder="NO" >
> <FRAME name="leftFrame" scrolling="NO" src="<!--#INCLUDE
> $layout.cell3 -->" frameborder="YES" bordercolor="#0000FF" frameset
> cols="10,10">
> >
> <FRAME name="mainFrame" src="<!--#INCLUDE $layout.cell4 -->"
> scrolling="NO" frameborder="NO" noresize>
> </FRAMESET>
>
> but it doesn't seem to work correctly. can someone point me in the right
> direction?
>
> thanks
>
>
>
> _______________________________________________
> templates mailing list
> templates@template-toolkit.org
> http://www.template-toolkit.org/mailman/listinfo/templates
>