For those who wish to discuss CCK development.
Using CCK and Views to change a content-type's frontend appearance
Hi,
I've created a new content type with CCK and called it "Blogs2". Very basic stuff (Title, Description, Additional Plain Textfield for an URL). When I click "Create Content -> Blogs2" I can create a new "Blogs2 Node" (Image 1).
After saving my new node, I get this view (Image 2). The Textfield for the URL is at the bottom of the description so you can't see it right now.
Read moreImage management - the never ending problem!
Hi,
As we all know image, any file actually, management is one of Drupal's biggest weaknesses. It has been debated since the beginning and there exist a virtual labyrinth of different solutions for it. I would say that looking at all the modules touching this more or less all features needed for Drupal to have excellent file management exist. The problem though is that very little is compatible with each other (won't go into that snake pit in this post though...)
Read moreDrupal Media, Now with Fieldable Entities!
If you haven't looked recently, there's been some huge progress recently for Drupal's Media module. Jacob Singh from Acquia has jumped on board, paving the way for fieldable entities! This allows Media asset objects to be a first class Drupal citizen, alongside Nodes, Users, Taxonomy, and Comments. (Hopefully in core for Drupal 8!) Also, Dipen Chaudhary has been hard at work providing WYSIWYG support!
Read moreIssue with "Advanced - Nodes that can be referenced (View)"
Hi,
In CCK Node Reference i am using "Advanced - Nodes that can be referenced (View)" it shows the views
data exactly in the field, while i am saving node it saves the NODE ID specified in the VIEW but i need to store a value in the database instead of that nodeid could anyone please help me to sort out this issue??
Thanks,
Ajmal
CCK Node Reference w/ 2 nodes
Hi,
I have a problem where I have 2 node types, "Our Products" and "Competitors Products" which share a node reference with both content types selected on the reference. Currently I'm trying to get a view to work for displaying the the other types when adding or editing a specific node.
For example I have a node Titled "Our Product 1" I want to have a checkbox list with all "Competitors Products" on the add/edit action so I can choose which product is most identical to ours and the same for "Competitors Products" with a list of our products to reference.
Read moreCCK option fields or Content Taxonomy for effective translation and filtering?
I am working on a website that ultimately will be available in several languages. It is also going to have a lot of complex CCK content types.
A lot of these fields will be CCK options fields, such as checkboxes, radio buttons and so on. Many of these fields will be usable for filtering and creating lists as well. Some of these options will be added to as the site grows.
What I have been thinking about is the best way to implement this to be flexible, efficient and at the same time make it easy to maintain and translations.
As I see it I have two options:
Scheduled rule keeps on going [resolved]
Hi,
["Issue" resolved. It appeared that the scheduled rule triggered a new rule that scheduled a rule again. Apparently this messes up the queue]]
I have a scheduled rule that is scheduled from within another rule.
This other rule is triggered upon updating a node that contains a CCK date field. The scheduling time is based on this date field by using a corresponding token.
So far, so good. After updating the node I see the scheduled rule appearing in the scheduled rules queue. When the scheduled time has passed, the action in the rule is executed.
The problem is:
Read moreintegrating "Corresponding node reference" and "nodereference_url"
Hi all!
I'm trying to build a book-like content tree based on node references.
I woluld like automatically creating these relationships:
Parent --- a --> Child
Parent <---b --- Child
by means of two modules which automatically set node references:
http://drupal.org/project/nodereference_url
http://drupal.org/project/cnr
- nodereference_url puts an "add Child" link on Parent page, letting you create a new Child and setting Child's nodereference to its parent automatically. (noderef "b")
Name for a numeric form element?
Sometime ago I wrote Format Number API and Formatter Number CCK modules. The former implements options at site/user level to define thousands separator and decimal point, also provides APIs to display numbers. The later implements CCK fields for different types of numbers. These CCK fields implement their own numeric form element based on textfield. Too bad! I should have implemented in Format Number API a form element for numbers at FAPI level.
Read moreMedia + Styles + Media: YouTube Demo!
Join us at #drupal-dojo in IRC for a DimDim screencast demonstration, discussion, and quick Q&A of the Media, Styles, and Media: YouTube modules. Built to harness the new PHP stream wrappers in core Drupal 7, this powerful file browsing solution will awe and amaze.
Read moreChange cck input field on node add form D6
Hi,
Can anyone help me please?
I would like to change settings like #maxlength, #default_value, #size on 2 cck mvf input fields in the node add form on D6
I use the hook_alter_form function.
The #name of the fields are
field_fieldname[0][value]
field_fieldname[0][value2]
i try
$form['field_fieldname'][0]['value']['#maxlenght'] = 2;But no luck
I am able to change #default_value for the first "from" field with
$form['field_fieldname'][0]['#default_value'] = t('2');But don't know how to access the second field
Read moreCCK - Validation
Hi,
I am using Drupal 6. I need to do validation for the cck form could anyone help me to do this.
Thanks
Read moreReading value pairs (Machine_Name|Human Name) from a multi-text, and appending, deleting/changing those values?
Hello CCK folks, I'm trying to write a custom Module that will allow me to read the value pairs in a multi-select box, and to then delete, change and/or add new values to that multi selection.
Assuming the name of the text_field is known, what is the function / hook I need to use to work on the CCK field?
I have been clicking in circles between all the places I can possibly imagine, and I can't seem to find the API for CCK which is mentioned "to exist" in several places, but never with a link to it... I did find a list of hooks, but those don't seem to cover the functions I need...
Read moreAssign values to individual elements of multivalued field
How do I assign values to individual elements of a multivalued field with Rules? I know how to assign a value to a single valued field with the "Populate a field" action. This does not work for a multivalued field, as I want to assign a value to specific fields in the array.
I tried to use custom PHP code following the suggestion under the code entry box:
Expected format:
return array(
0 => array('nid' => value for nid),
// You'll usually want to stop here. Provide more values
// if you want your 'default value' to be multi-valued:
1 => array('nid' => value for nid),
Filefield and XML
I'm wondering if it's possible to make some sort of rule which alters an xml file when a filefield file has been uploaded.
For example, I have a flash player fed by an xml file. I would like to be able to upload a set of mp3s through cck, and have the system then add those files to the list in the xml document.
I'm not all that familiar with xml, or media players in general, and the modules available are more for community applications. I just need one standalone player to be fed by one document, and the files all coming from one node. Any help would be much appreciated.
Read moredatabase application
Is CCK is a good module for consructin database applications. I am going to use it to build employees information system in the university i am working in.
Read moreEmbedding child content type form to parent content type editing page
Hello,
My requirement is not so complicated and I think it can already done with a cck module but I couldnt find it.
Is It Possible Edit to Computed Field?
Hi,
I am using Computed field - CCK in Drupal 6, and i am trying to edit the computed field could some one help me to solve this problem?
Thanks
Read moreCustomizing save message
Hello,
I couldn't figure out how I can configure creation message. Is it possible to do that?
Any timeline for compound field support?
Folks told me compound filed will be supported in CCK 3. Is it true? If yes, it is great.
Currently, CCK does not support compound field unless developers make such a filed themselves.
Even developers make a compound field, it still has some serious limitation:
For example, you cannot set the number of values on an individual field in a compound field.
Read more





