I've included a search form in my coreblog's side menu, but I've realised
that it searchs only in the title and body fields of entries and comments..
Is there a way to force coreblog to search in the extend field too?
    
The reason is that COREblog doesn't save the contents of the extend field in the catalog used for searching. To make it do so you need to patch COREblog: Find the search_text() method in the Entry.py script and change the line text = self.title + "\n" + self.subtitle + "\n" + self.rendered_body to text = self.title + "\n" + self.subtitle + "\n" + self.rendered_body + "\n" + self.extend
And isn't there a hack to obtain the same result via the ZMI, without
patching COREblog?
    

    
I don't think so, but I'm not a Zope wizard...
  
    
The problem is that my blog is not hosted in a server of my own, it is
hosted in a Zope hosting service, and I don't think they will make that
change in their server only because I tell them to do so...
    

    
That's a problem -- both for you, but also for others who are having
their blog hosted.  Well, then perhaps you should lobby Atsushi-san to
fold in the changes in the main branch of COREblog. ;-)
  
Well, maybe the change is not interesting for everybody, maybe some people want to do the search only in the title, subtitle and body fields. It would probably be best to include a property to COREBlog named 'Search also in extend' that would do what you say just in case this option is activated... Anyway, I'm not going to lobby Atsushi, I suppose he is reading the list and has read this thread, so I suppose he will do it if he thinks it is interesting. And thanks a lot to you for your help, Klaus Alexander.
------------------------------------------------------
Igor Leturia Azkarate
Elhuyar I+G+B
Zelai Haundi kalea, 3
Osinalde industrialdea
20170 Usurbil
(+34) 943 36 30 40
[EMAIL PROTECTED] / www.elhuyar.org



_______________________________________________
COREblog-en mailing list
[email protected]
http://postaria.com/cgi-bin/mailman/listinfo/coreblog-en
Unsubscription writing to [EMAIL PROTECTED]

Reply via email to