[ZPT] Calling complex product tags from ZPT
J C Lawrence
claw@kanga.nu
Thu, 04 Jul 2002 15:10:56 -0700
On Wed, 03 Jul 2002 13:55:50 +0200
j-david <ISO-8859-1> wrote:
> J C Lawrence wrote:
> Look at the NuxWidgets product (CVS):
> https://savannah.gnu.org/projects/nuxeo
Okay, I've got the NuxWidgets product installed (per the
ControlPanel/Products page) and nothing is showing in the debug log.
However any attempt to call the new TAL calendar tag as per the README
gets:
Error Value: widgets not found in 'widgets/calendar', at line 17, column 3
For:
<html xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
metal:use-macro="container/main_template/macros/master">
<metal:block fill-slot="base">
<base href=""
tal:attributes="href python: here.absolute_url() + '/'">
</metal:block>
<body>
<div metal:fill-slot="main">
<div class="Desktop">
<div class="Topic">
<h2><span tal:replace="here/title">title</span> </h2>
<div metal:use-macro="widgets/calendar">
Dummy text: a calendar goes here.
</div>
...etc
And yeah, I have Locale and mxDateTime installed as well as the various
Egenix supports. I've poked about the __init__ scripts and they are
being run and don't seem to be failing. Have the macro hooks in ZPT
changed recently such that they'd not work?
Zope: 2.5.1.
--
J C Lawrence
---------(*) Satan, oscillate my metallic sonatas.
claw@kanga.nu He lived as a devil, eh?
http://www.kanga.nu/~claw/ Evil is a name of a foeman, as I live.