On Tuesday 04 March 2008, Sam Varshavchik wrote:
Milan Obuch writes:
First I found [#include:navbar#] construct in folders.html, leading to
navbar.inc.html. There is <!-- [#?4#] --> ... <!-- [#?#] --> construct
surrounding menu items of my interest. In sqwebmail.c I found
do_output_form_loop function, where ?4 references
maildir_filter_hasmaildirfilter function, but here I am a bit lost.
What does it test for?
That the maildirfilterconfig file exists, and contains the MAILDIR and
MAILDIRFILTER settings.
Thanks, this was the bit I overlooked and can't decipher from source. Now it
seems soo easy...
What should I have in my config files and/or
maildir in order to be able to use filter and autoresponse editing
capability in sqwebmail?
See "Mail Filtering" in INSTALL, which points you to a separate README
file.
Thanks for pointer, I found it in install page on web. I did it sometime in
past, but forgot somehow about it...
Also, if I am going to add new menu item, I should put in
navbarN.inc.html new data iten in the table similar to the existing,
using some unique form name, say, form=test. If I got it right, I should
create new html file, test.html in template directory. But where should I
go from there?
After placing the appropriate tags in test.html, write the supporting C
code that generates the corresponding HTML for each tag.
I will try something and ask again. It is not yet clear to me how to proceed,
but I can't ask more without some experience.
[ snip ]
Regards,
Milan