12 Mar
2011
12 Mar
'11
7:33 p.m.
module_exists() in d6 and d7 is what you're looking for I think. On Mar 12, 2011 12:25 PM, "Damian Adriel Perez Valdes" < damian.adriel@gmail.com> wrote:
hello again:
i'm making a module.
i'm using similar to:
$message[] = array( 'status' => 'warning', 'title' => t('Module modul1'), 'desc' => t('The description'), );
$message[] = array( 'status' => 'ok', 'title' => t('Module modul1'), 'desc' => t('The description '), );
but, how can i now if one "modul1" is active ? beacuse 'status' => 'ok', don't reemplace 'status' => 'warning' when a module is active.
thanks.