[Zope-CMF] Microsoft Word, Excel and Powerpoint with CMF
Sion Morris
s.morris@bangor.ac.uk
Sun, 5 May 2002 18:45:01 +0000
Magic!
Editing the DTML worked. Which brings me to the question, why use the
'nd_gettext' incantation in the first place?
(I am using CMF1.2 which has page templates, so I don't know why your
first suggestion didn't work. It's time for me to learn ZPT!)
Thank you,
Sion
On Sunday, May 5, 2002, at 02:58 pm, Luca Olivetti wrote:
> Sion Morris wrote:
>> I'm sorry if I'm slow on the uptake with this...but, after following
>> the instructions and creating a new nuxdocument, this error appears:
>> Error Value: main_template not found in
>> 'here/main_template/macros/master', at line 1, column 1
>
>
> You probably are using an older version of CMF with no page template
> skins? (the question mark is because I'm not an expert on "legacy"
> zope/cmf, heck, I'm not really an expert on current versions ;-).
>
> You could try to upgrade the CMF (if you feel confident doing so) or,
> instead of using my template, use the original dtml one with some
> editing, eg.
>
> <dtml-var "nd_gettext('Edit %s') % getId()"> --> Edit <dtml-var
> "getId()">
>
> <dtml-var "nd_gettext('Title')"> --> Title
>
> and so on (not the cleanes approach but it should work)
>
> Bye
> -- Luca Olivetti
>