Chhange the block title by choosing the content of another field

Earl Grey - April 10, 2009 - 09:14
Project:CCK Blocks
Version:6.x-1.1
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:fixed
Description

Hey there,

is it possible to change the title of the cck blocks, depending on a second cck field? At the moment, I can only display the field name as block title, but a individual title for each page, the block is displayed would be nice.

An alternative is to use two fields, displayed as block: one for the blocktitle (how can I change the block title to the field value?) and the second one for the content (without displaying the headline).

Thanks
forschi

#1

Earl Grey - April 10, 2009 - 11:50
Title:How to change the title of a CCK-Block?» Chhange the block title by choosing the content of another field
Category:support request» feature request
Status:active» needs review

I created a patch, that replaces the headline of the block with the value of a field named "info_headline". This is not a perfect solution, but it works for me.

AttachmentSize
cck_blocks.module.diff 238 bytes

#2

Earl Grey - November 24, 2009 - 20:22
Status:needs review» fixed

CCK blocks is using tokens in 6.x-1.2

 
 

Drupal is a registered trademark of Dries Buytaert.