thanks, i'll try it.
On Sat, Mar 12, 2011 at 1:33 PM, Michael Favia <[email protected]>wrote: > 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" < > [email protected]> 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. >
