List Info

Thread: Can't Copy Plone Instance




Can't Copy Plone Instance
user name
2006-09-18 20:00:28
Hi;
I'm following the instructions in The Plone Book. I ran
across something 
that I tried to duplicate elsewhere and it looks like
that's what got me 
into trouble. Here is the error I get when I try to copy and
paste the 
Plone instance:

Unexpected tag, for tag <dtml-translate 
msgid="mailtemplate_subject_resetpasswordrequest"
; 
domain="passwordresettool">, on line 41 of
mail_password_template

What I did that I think triggered this was:
* Customize
portal_skins/plone_templates/mail_password_template
* Create my own line of code wherein I created a new
i18n:translate tag.

I gather such tags need to be registered somewhere? If so,
where? I went 
ahead and edited out my new tag, then deleted the customized
skin 
entirely, yet this darn error keeps coming up, after
rebooting, waiting 
a few hours for the Zope gremlins to forget about it, etc.
Help!
TIA,
beno

_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
Can't Copy Plone Instance
user name
2006-09-19 19:26:41
beno wrote:
> Hi;
> I'm following the instructions in The Plone Book. I
ran across something 
> that I tried to duplicate elsewhere and it looks like
that's what got me 
> into trouble. Here is the error I get when I try to
copy and paste the 
> Plone instance:
> 
> Unexpected tag, for tag <dtml-translate 
>
msgid="mailtemplate_subject_resetpasswordrequest"
; 
> domain="passwordresettool">, on line 41
of mail_password_template
> 
> What I did that I think triggered this was:
> * Customize
portal_skins/plone_templates/mail_password_template
> * Create my own line of code wherein I created a new
i18n:translate tag.

You can't use i18n:translate in DTML files - this is a
feature of TAL 
and Zope Page Templates. I don't know how you do i18n in
DTML, but I'm 
sure it's possible.

Martin


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )