[drupal-devel] [feature] Provide a 70x5 textarea in which I can a write a block's "visbility check" using Drupal's APIs.

budda drupal-devel at drupal.org
Thu Apr 28 13:05:16 UTC 2005


Issue status update for http://drupal.org/node/21353

 Project:      Drupal
 Version:      cvs
 Component:    block.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  chx
 Reported by:  chx
 Updated by:   budda
 Status:       patch

Probably a little confusing to non-coders but it will solve the problem
and copy n paste code can be provided via drupal.org for users.


Good stuff.


+1 from me.




budda



Previous comments:
------------------------------------------------------------------------

April 26, 2005 - 13:08 : chx

Attachment: http://drupal.org/files/issues/block_php.patch (3.37 KB)

Dries, you asked for this.




------------------------------------------------------------------------

April 26, 2005 - 13:13 : chx

Attachment: http://drupal.org/files/issues/block_php_0.patch (3.38 KB)

Escaped the < and > signs in the description.




------------------------------------------------------------------------

April 26, 2005 - 14:09 : chx

Attachment: http://drupal.org/files/issues/block_php_1.patch (3.51 KB)

Rewording following advice from Steef and JonBob.




------------------------------------------------------------------------

April 26, 2005 - 16:10 : Dries

This looks _really_ handy to me.  +1 from me.


In order not to confuse the average user, I suggest to remove the
'node-type specific visibility settings'.  Like that, we cater for the
most common/popupalar functionality.  Anything less popular can be
implemented using PHP.


This is a good example of 'less is more'.




------------------------------------------------------------------------

April 27, 2005 - 06:10 : chx

Attachment: http://drupal.org/files/issues/block_php_2.patch (9.68 KB)

I deleted types.







More information about the drupal-devel mailing list