On Tue, 04 Jan 2005 13:08:46 +0100, Igor Leturia <[EMAIL PROTECTED]> wrote:
> 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 (I'm sorry if Gmail vandalizes the formatting.) Please note that this will only change the behaviour for new blog entries unless you manually (or by using a script) re-save each old entry. -- Klaus Alexander Seistrup SubZeroNet � Copenhagen � Denmark _______________________________________________ COREblog-en mailing list [email protected] http://postaria.com/cgi-bin/mailman/listinfo/coreblog-en Unsubscription writing to [EMAIL PROTECTED]
