Download & Extend

Chhange the block title by choosing the content of another field

Project:CCK Blocks
Version:6.x-1.1
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

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

Status:needs review» fixed

CCK blocks is using tokens in 6.x-1.2

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.