Leland Smith
Leland Smith

Reputation: 439

Drupal Text Block - Change on Per page basis

Is there a drupal block module that allows you to change the text of the block on a per page basis with the option of a default text for every page?

Thanks in advance

Upvotes: 0

Views: 138

Answers (1)

oknate
oknate

Reputation: 1148

If you want different text in a block on a per page basis, one way to do this is to add a textarea field to the node for that page, and when block is rendered, look up the node for that page and pull the text from that field into that block.

It looks like this module does this for you:

https://www.drupal.org/project/cck_blocks

Here's a tutorial on how it works:

https://www.ostraining.com/blog/drupal/cck-blocks/

Upvotes: 1

Related Questions