[ZPT] macro's

Tom Deprez Tom Deprez" <tom.deprez@uz.kuleuven.ac.be
Thu, 4 Oct 2001 10:37:38 +0200


Dit is een meerdelig bericht in MIME-indeling.

------=_NextPart_000_0086_01C14CC0.966B70E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I think I misunderstand the use of macro's:

I made a master_page macro which I want to use for all of my index_html =
pages.

I made some index_html pages and now I changed something on the =
master_page.
Isn't it supposed that this change is adapted by the index_html pages as =
well?

what I changed was:=20

        <td metal:define-slot=3D"navigator" valign=3D"top">links</td>

to

 <td metal:define-slot=3D"navigator" valign=3D"top"
            width=3D"10%">links</td>
       =20
but the pages which use the macro didn't updated the width of their td =
tag

They keep using :

        <td metal:fill-slot=3D"navigator" valign=3D"top">
          <span tal:replace=3D"structure here/navigation_left"></span>
        </td>

Tom.

------=_NextPart_000_0086_01C14CC0.966B70E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I think I misunderstand the use of=20
macro's:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I made a master_page macro which I want =
to use for=20
all of my&nbsp;index_html pages.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I made some index_html pages and now I =
changed=20
something on the master_page.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Isn't it supposed that this change is =
adapted by=20
the index_html pages as well?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>what I changed was: </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV><FONT face=3DArial =
size=3D2>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td=20
metal:define-slot=3D"navigator" valign=3D"top"&gt;links&lt;/td&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>to</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&lt;td metal:define-slot=3D"navigator"=20
valign=3D"top"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;=20
width=3D"10%"&gt;links&lt;/td&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
</DIV>
<DIV>but the pages which use the macro didn't updated the width of their =
td=20
tag</DIV>
<DIV>&nbsp;</DIV>
<DIV>They keep using :</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td=20
metal:fill-slot=3D"navigator"=20
valign=3D"top"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;=20
&lt;span tal:replace=3D"structure=20
here/navigation_left"&gt;&lt;/span&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;=20
&lt;/td&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Tom.</FONT></DIV></BODY></HTML>

------=_NextPart_000_0086_01C14CC0.966B70E0--