[Zope] SmartSections question
André Camargo
acamargo@supersul.com.br
22 Jan 2002 23:42:28 -0200
On Tue, 2002-01-22 at 14:26, Simon Brogden wrote:
Hello everybody :)
> Dear All,
> I played with the SmartSections online demo on Iuveno's site (http://demo=
.iuveno-net.de/iuveno/Products/SmartSection/Demo) and it looked pretty damn good. I can't get it working. Has anyone had success or have any pointers?
>
> I've installed both Transparent & Ordered folder products as instructed w=
ith no errors. SmartSections appears in the "Add" drop-down but I get the traceback error below when I try to Add it.
>
> It complains about not having "translate" connected to a database. I've g=
ot to create a d/b connection, no worries. Does anyone know any more detail about what tables or configuration are needed?
>
> Thanks for your time,
> Simon.
Well, I got another error.
I installed Ordered folder 0.3.0, Formulator 1.1.0, Transparent folders
0.3.2 and SmartSections 0.3.0 on a fresh zope 2.5.0b4 installation. I
don't wanna use ZBabel...
Everything appear good, after install the products... So, when I
selected "Smart Section" in product list:
Error Type: NameError
Error Value: name 'translate' is not defined
Traceback (innermost last):
File /home/acamargo/zope250b4/lib/python/ZPublisher/Publish.py, line
150, in publish_module
File /home/acamargo/zope250b4/lib/python/ZPublisher/Publish.py, line
114, in publish
File /home/acamargo/zope250b4/lib/python/Zope/__init__.py, line 158,
in zpublisher_exception_hook
File /home/acamargo/zope250b4/lib/python/ZPublisher/Publish.py, line
98, in publish
File /home/acamargo/zope250b4/lib/python/ZPublisher/mapply.py, line
88, in mapply
(Object: addSmartSection)
File /home/acamargo/zope250b4/lib/python/ZPublisher/Publish.py, line
39, in call_object
(Object: addSmartSection)
File
/home/acamargo/zope250b4/lib/python/Shared/DC/Scripts/Bindings.py, line
252, in __call__
(Object: addSmartSection)
File
/home/acamargo/zope250b4/lib/python/Shared/DC/Scripts/Bindings.py, line
283, in _bindAndExec
(Object: addSmartSection)
File /home/acamargo/zope250b4/lib/python/App/special_dtml.py, line
172, in _exec
(Object: addSmartSection)
File /home/acamargo/zope250b4/lib/python/DocumentTemplate/DT_Util.py,
line 159, in eval
(Object: manage_form_title(this(), _,
form_title=translate('Add Smart Section'),
))
(Info: this)
File <string>, line 0, in ?
NameError: (see above)
I was looking into code and I think that translate method isn't in
namespace for DTMLMethod...
How can I fix this?
Thanks in advance.
andré