[Zope] PrincipiaSearchSource() dtml-method and Catalog

2001-01-14 Thread Max M

I have made a dtml method called "PrincipiaSearchSource" in a bunch of
zClasses so that my Catalog will index severeal parameters in the zClass,
but nothing happens.

As far as I can see PrincipiaSearchSource is a default value that is indexed
in catalog. Have I misunderstood that?

The title gets indexed ok when i update my classes but not the content
delivered via the PrincipiaSearchSource method. Does anybody have an idea?

I have tried to return via PrincipiaSearchSource in 2 different ways (None
of which works):

#1 ---
dtml-return "var1 + var2 +var3"

#2 ---
dtml-var var1 dtml-var var2 dtml-var var2

regards Max M

Max M. W. Rasmussen,Denmark.   New Media Director
private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]
-
Specialization is for insects.  -  Robert A. Heinlein


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] PrincipiaSearchSource() dtml-method and Catalog

2001-01-14 Thread Geir Bækholt

PrincipiaSearchSource  will  have  to be a PythonMethod or an External
Method.

dtml won't be called by Catalog... Anything Python will work.

so instead of :  dtml-return "var1 + var2 +var3" , you have to use :
return var1 + var2 + var3

--
Geir Bkholt
web-developer/designer
[EMAIL PROTECTED]
http://www.funcom.com

on Sunday, January 14, 2001 Max M wrote :
MM I have made a dtml method called "PrincipiaSearchSource" in a bunch of
MM zClasses so that my Catalog will index severeal parameters in the zClass,
MM but nothing happens.

MM As far as I can see PrincipiaSearchSource is a default value that is indexed
MM in catalog. Have I misunderstood that?

MM The title gets indexed ok when i update my classes but not the content
MM delivered via the PrincipiaSearchSource method. Does anybody have an idea?

MM I have tried to return via PrincipiaSearchSource in 2 different ways (None
MM of which works):

MM #1 ---
MM dtml-return "var1 + var2 +var3"

MM #2 ---
MM dtml-var var1 dtml-var var2 dtml-var var2

MM regards Max M

MM Max M. W. Rasmussen,Denmark.   New Media Director
MM private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]
MM -
MM Specialization is for insects.  -  Robert A. Heinlein


MM ___
MM Zope maillist  -  [EMAIL PROTECTED]
MM http://lists.zope.org/mailman/listinfo/zope
MM **   No cross posts or HTML encoding!  **
MM (Related lists - 
MM  http://lists.zope.org/mailman/listinfo/zope-announce
MM  http://lists.zope.org/mailman/listinfo/zope-dev )



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )