I'm messing about with adding extra tabs to the admin pages, but running into some trouble...
I've created a file in the $prefix/Mailman/Gui/ directory - lets call it NewTab.py... I also added the class name (defined in NewTab.py) to mm_cfg.py (copying the default setting from Defaults.py).
However I think i've missed a link somewhere when reading through the source as things aren't working as expected. Do I need to define anything else / create other files??
Thanks again
Donal
Solved this one as well...
I needed to add the line
from NewTab import NewTab
into $prefix/Mailman/Gui/__init__.py d'oh!!!
Later
D.
Donal Hunt wrote:
I'm messing about with adding extra tabs to the admin pages, but running into some trouble...
I've created a file in the $prefix/Mailman/Gui/ directory - lets call it NewTab.py... I also added the class name (defined in NewTab.py) to mm_cfg.py (copying the default setting from Defaults.py).
However I think i've missed a link somewhere when reading through the source as things aren't working as expected. Do I need to define anything else / create other files??
Thanks again
Donal
participants (1)
-
Donal Hunt