A question about CCK in conjuction with the CCK blocks module

manorius - May 20, 2008 - 07:31
Project:CCK Blocks
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:closed
Description

Hi,

I started using the cck blocks module and it's such a
great tool especially for people who are more designers than developers.
But I have a question which is I guess more relative to
the way CCK is working.
I'm using Drupal 6 and I created a new region let's call it region1.
After that I created a filed with number of values:unlimited .
In addition I created a block-region1.tpl.php file to theme and
modify the block.
I used $block->content; to retrieve the field value and $block->subject to
extract the name of the filed.
Now if I have a multiple values field is there a way of retrieving value one or value two?
When I enter $block->content[0] I receive the first letter of the content.

thanks a lot!

#1

KarenS - May 31, 2008 - 14:21
Project:Content Construction Kit (CCK)» CCK Blocks
Version:6.x-1.x-dev» 6.x-1.x-dev
Component:General» Code

This is a question for the CCK blocks module.

#2

Earl Grey - October 27, 2009 - 22:27
Status:active» postponed (maintainer needs more info)

If you're still interested, maybe you try the newest dev-release and you could use field theming for your purpose. Please let us know, what's the status of that issue.

#3

Earl Grey - November 24, 2009 - 20:25
Status:postponed (maintainer needs more info)» fixed

Seems to be fixed, as there are no further comments.

#4

System Message - December 8, 2009 - 20:30
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.