Logic Block

Logic block is a drupal plugin which allows for conditional display of blocks depending on various conditions. A user can opt to display a block depending on various conditions, these are (but are extendable)

1) ACTION
— Concatenate two blocks together
— Strip class=content from around a block
— Add a prefix to a block
— Replace content within a block
— Add a suffix to a block
— Swap a block for another
— Wrap a block with HTML

2) LOGIC
— Show a different block if the block contains certain content
— Show a different block if the block is empty
— Show a different block if the block’s content is over, or under a certain amount

3) NODES
— Show a different block depending on the node’s language
— Show a different block if the node is published
— Show a different block depending on the node type

4) USER
— Show a different block depending on user ID
— Show a different block depending on when a user was last active
— Show a different block depending on a role
— Show a different block depending on language
— Show a different block depending on timezone

See Logic Block on Drupal

Last updated Downloads Installs