[development] help.

Damian Adriel Perez Valdes damian.adriel at gmail.com
Sat Mar 12 18:43:41 UTC 2011


thanks, i'll try it.


On Sat, Mar 12, 2011 at 1:33 PM, Michael Favia <michael.favia at gmail.com>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" <
> damian.adriel at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110312/bbc7317c/attachment.html 


More information about the development mailing list