[drupal-devel] forum.module dependent on comment.module

Negyesi Karoly karoly at negyesi.net
Sat Mar 5 23:22:21 UTC 2005


> I'd add a check in forum_admin() rather than in forum_help().  Feel free
> to share a patch.

I already told this, again: if it is in forum_admin then 

a) go to modules admin
b) enable forum
c) go to forum admin
d) jolly good! an error message! back to modules admin
e) enable comments
f) finally! forum works.

instead

a) go to modules admin
b) enable forum
c) an error message show: you need to enable comments. Or even even better, 
do it for the administrator. Error message "A forum is a forum type node 
and followups are comments. Because of this, comments is also enabled.".

Nice and easy. I'll whip up a patch...

Regards

NK



More information about the drupal-devel mailing list