[development] Block visibility only in module pages

William Smith william.darren at gmail.com
Wed Jan 27 16:44:37 UTC 2010


Yes, you should be able to do this from the module code.  See the
block_example code at
http://api.drupal.org/api/function/block_example_block/6

Note the 'pages' array element (in the example code it is specified as
'node/*').  In your case, you would want to set this to
'admin/build/modules'

Best,
William

On Wed, Jan 27, 2010 at 11:33 AM, ktt <kestutis98 at yahoo.com> wrote:

> Hello,
>
> Is it possible to define block to show only in module pages?
> I would like to define that in module code - is it possible?
>
> Thank you in advance,
> Ktt
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100127/a4936200/attachment.html 


More information about the development mailing list