[Mailman-Users] Search box for archives

2022-09-11 Thread Odhiambo Washington
What is the simplest way to add a searchbox for the archives? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) -- Mailman-Users mailing list -- mailman-users@py

[Mailman-Users] Search box for archives

2022-09-11 Thread Stephen J. Turnbull
Odhiambo Washington writes: > What is the simplest way to add a searchbox for the archives? If you're talking about about Mailman 2's Pipermail, you need to install and configure a separate application. I think HT:Dig is most popular, but I've only used Namazu, which worked well for me. There'

[Mailman-Users] Re: Search box for archives

2022-09-11 Thread Odhiambo Washington
On Sun, Sep 11, 2022 at 11:01 AM Stephen J. Turnbull < stephenjturnb...@gmail.com> wrote: > Odhiambo Washington writes: > > > What is the simplest way to add a searchbox for the archives? > > If you're talking about about Mailman 2's Pipermail, you need to > install and configure a separate appli

[Mailman-Users] Re: Search box for archives

2022-09-11 Thread Odhiambo Washington
On Sun, Sep 11, 2022 at 12:26 PM Odhiambo Washington wrote: > > > On Sun, Sep 11, 2022 at 11:01 AM Stephen J. Turnbull < > stephenjturnb...@gmail.com> wrote: > >> Odhiambo Washington writes: >> >> > What is the simplest way to add a searchbox for the archives? >> >> If you're talking about about

[Mailman-Users] Re: Search box for archives

2022-09-11 Thread Stephen J. Turnbull
Odhiambo Washington writes: > 1. I am getting too many messages from cron which I am unable to address > because I am not a perl programmer: I'm not, either. > Useless use of greediness modifier '?' in regex; marked by <-- HERE in > m/^\w+:{1,1}? <-- HERE / at /usr/local/share/namazu/filter/

[Mailman-Users] Re: Search box for archives

2022-09-11 Thread Mark Dale via Mailman-Users
> > Answering myself on #2, I did figure out that the two files should go > to my > templates/{language}/ as drop-in replacements. I have done that but > accessing > the archives of my list still do not bring the search box as shown > here - > https://lists.kictanet.or.ke/pipermail/kictanet/ - a

[Mailman-Users] Re: Search box for archives

2022-09-11 Thread Odhiambo Washington
On Sun, Sep 11, 2022 at 3:14 PM Mark Dale via Mailman-Users < mailman-users@python.org> wrote: > > > > > > Answering myself on #2, I did figure out that the two files should go > > to my > > templates/{language}/ as drop-in replacements. I have done that but > > accessing > > the archives of my li

[Mailman-Users] Re: Search box for archives

2022-09-11 Thread dmitri maziuk
On 2022-09-11 8:58 AM, Odhiambo Washington wrote: However, looking at the two files, I see references to: I suppose in my case this too has to be modified to reflect the correct path. With my MM2 installed in /usr/local/mailman2/ the above path then should become "/mailman/cgi-bin/search" ??

[Mailman-Users] Re: Search box for archives

2022-09-11 Thread Mark Dale via Mailman-Users
On Sun, 2022-09-11 at 16:58 +0300, Odhiambo Washington wrote: > However, looking at the two files, I see references to: > > > > I suppose in my case this too has to be modified to reflect the > correct path. > With my MM2 installed in /usr/local/mailman2/ the above path then > should become "/ma

[Mailman-Users] Re: Search box for archives

2022-09-11 Thread Mark Dale via Mailman-Users
On Sun, 2022-09-11 at 16:58 +0300, Odhiambo Washington wrote: > > > > And you may first want to edit those new archtoc.html and > > archtocnombox.html files. By default the search box is at the > > bottom of > > the page. I think it's better at the top. > > > > > Thanks for that hint. It is not