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 list still do not bring the search box as shown > > here - > > https://lists.kictanet.or.ke/pipermail/kictanet/ - and I am thinking > > that > > there's something > > minor that I am still missing. > > Once you've swapped in the new archtoc.html and archtocnombox.html > files you need to run bin/arch --wipe <LISTNAME> > > The renewed archive will then have the search box. > Thank you. That's what I was missing. However, looking at the two files, I see references to: <form method="get" action="/cgi-bin/mailman/search"> 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" ?? When I do a search now, I end up with an error saying "The requested URL was not found on this server." and the resulting URL in the address bar is: https://lists.kictanet.or.ke/cgi-bin/search?query=odhiambo&submit=Search%21&idxname=KICTANet&max=20&result=normal&sort=score > If your archive is private you have to be logged as a member to use the > search. It won't allow you to search if you're logged in as an > administrator. > > 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 documented in the HOWTO. -- 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@python.org To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/