Zope has no built in way to do search and replace? As an editor, that is a
*very* serious drawback indeed!
The first workaround you suggest may be useful when creating new pages
although only when you can guess what might change in the future and it
also requires that all of the people creating content think like
programmers, not writers.
The second approach seems somewhat risky, complex and challenging for an
Isn't replacing text one of the most fundamental tasks when creating and
maintaining a web site or any other set of documents, for that matter?
Shouldn't there be a S & R tab on every folder object that provides a choice
of replacing html, dtml or text and that spits out a report on what was
changed? Or even better, that first gives you a report of *proposed* changes
and then allows you to check off the ones you want to ok.
Hum Communications Ltd.
> -----Original Message-----
> >Is there any way to do a 'search and replace' in a Zope
> folder (and it's
Martin Winkler replied
> AFAIK: no. But on the other hand: why do you need it? That's
> what objects
> are for... Just create a method with the text that may change
> sometimes and
> is displayed on many pages, and include it with <dtml-var ..>.
> One possibility I see is: export the folder as XML, edit the
> file in your
> favourite text-editor and do a search 'n replace. (with the
> <dtml-var>, of
> course ;-)
> Then import the file again.
> Hope this helps,
> Zope maillist - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -