How to check is the module enabled?

If you will find a grammar error on this page, please select it with your mouse and press Ctrl+EnterThank you.

Name: 
trafbite
Hi.
I need to show some text if the module "filter" is enabled. How can I do that? 

I suppose that the php code should be like this:
<?php if [the condition what I need ] { ?>
   My text
<?php } ?>

Add new comment

Filtered HTML ckeditor

  • Allowed HTML tags: <pre> <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <div> <br> <img> <u> <strike> <p> <div>
  • Web page addresses and e-mail addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <pre>, <javascript>, <php>, <python>, <xml>.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
Spam protection
Target Image