1 message in net.sourceforge.lists.courier-sqwebmail[sqwebmail] SqWebMail's navigation bar
FromSent OnAttachments
Milan ObuchJan 14, 2008 12:20 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[sqwebmail] SqWebMail's navigation barActions...
From:Milan Obuch (cour@dino.sk)
Date:Jan 14, 2008 12:20:33 pm
List:net.sourceforge.lists.courier-sqwebmail

Hi,

I did some investigation in sqwebmail - after testing 0.58.0 port I did mention again some inconsistency in navbar. Sometimes I get items for editing mailfilter and autoresponses, sometimes not. As I am contemplating adding some new menu items for some time, I dig a bit in the code.

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? 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?

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? What I am thinking about is some additional administrative function - something like adding new alias for mailbox, in order to make it easier for handling various customer's requests. As it is not that predictable, I need to be able to alter it easily...

Any comments/hints appreciated.

Regards, Milan