[ZPT] METAL changes in SPT 1.4.1 has broken my ZPT...
Tony McDonald
tony.mcdonald@ncl.ac.uk
Sun, 14 Oct 2001 21:28:55 +0100
Hi all,
I've upgraded to ZPT 1.4.1 under Zope 2.4.0 and the behaviour of METAL seems
to have changed.
Here's part of my index_html with the error...
<!-- Page Template Diagnostics
Compilation failed
TAL.TALDefs.METALError: fill-slot must be within a use-macro, at line 7,
column 1
-->
<html
metal:use-macro="here/standard_look_and_feel/macros/master">
<head>
<title tal:content="template/title">The title</title>
</head>
<body metal:fill-slot="body" >
<div metal:fill-slot="main"
tal:define="global oboxtitle string:Hello there
${data/userinfo/forenames};global guideid string:n00s1cb ">
I'm assuming that line 7 is the <div> tag...
And here's a chunk of my standard_look_and_feel
<html xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
metal:define-macro="master"
tal:define="global mstring modules/string">
<head>
<title tal:content="template/title">The title</title>
</head>
<body define-macro="body" tal:define="global data here/load_session_data;
global eg here/load_eguide_data" bgcolor="#FFFFFF" text="#000000"
link="#000066" vlink="#606060" topmargin="0" leftmargin="0" marginwidth="0"
marginheight="0">
Can anyone tell me what's changed in METAL to do this?
Tone.
--
Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/
The Medical School, Newcastle University Tel: +44 191 243 6140
A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope