I've been trying to get this module to work and no matter what I've tried I can't seem to get this to show up in the "Add Field" selection box, full code is over here:
http://drupalbin.com/11854
The gist follows, I have the following hooks implemented:
function uc_product_content_install() {
}
function uc_product_content_uninstall()...
I need a multi-page drupal form that requests an external xml api and displays the data on the second page of the multi-page form.
I'm new to drupal and I've been reading advices on here and on drupal.org. I think I can either use the computed field on cck or I write an module to do this. I think I will do both, first using the computed...
Is there a way of creating a composite field that can have multiple values, with each value having another group of composite values?
E.g. we want to have this structure at the end:
Group 1 (unlimited number of groups)
Child field (unlimited children for each group)
Child field
...
Group 2
Child field
Child field
...
...
Is this...
I'm in the progress of creating a bulk upload function for a Drupal site. Using flash I'm able to upload the files to a specific url that then handles the files. What I want to do, is not just to upload the files, but create a node of a specific type with the file saved to a filefield that has been setup with CCK. Since these are audio f...
Hi,
Hope someone can advise.
I am using drupal 6.
I have a node called [classroom].
I would like to have a [vacancy register] associated with each classroom.
vacancy register is a cck type with:
- uid
- nid
- join date
I would like for each user to [register] for a vacancy. I think I can use flag for this.
When a user joins, I ca...
I'm trying to show a list of dates of Nodes using view. The list should be something like,
19 September 2009
20 September 2009
Right now it can only show like
Thu, 2009-11-12 (All day)
Mon, 2009-11-09 (All day)
...
I'm trying to create a bespoke form in drupal, with a node reference field.
I'd like to add a little extra functionality to the node reference auto complete. I've created a view, that contains an argument. I'd like to be able to pass that argument from a drop down as well as the typed text into the autocomplete script.
Does anyone know...
I'm looking for a way to construct a view in drupal6 by letting it grab the 'added date' from a nodereference cck field which has multiple values.
What I need is a list of titles of referenced nodes, sorted (desc) by the date they were added to the reference-list.
I've tried setting up a 'node' view, letting it grab a node ID from the...
Hey Everyone,
Just wondering can anyone tell me how to access the file field variable in drupal? I can access the rest of the node's variabels with the following php:
$node->field_event[0]['value'];
But I do not know how to access the content of a file field called field_pdf.
I know it is created with something like:
$node->field_p...
I added a field to a nodetype using CCK, but when I try to view the node as an anonymous user the field is not visible. I can see it when I am logged in with my admin account.
What could be the problem?
...
I'm building a content website whose basic elements are not just plain text but rather structures containing multiple fields. I want it to be based on open source CMS so that I can extend/tweak it as I wish.
Drupal's CCK module gives me exactly what I need, and I'm trying to understand if I can get this capability with DNN (or do I hav...
I have one content type Restaurant. For each restaurant, I would like to record their menu.
The sample data would look like this:
Beverages
Coke $4.99
Mineral Water $2.99
Cocktail
Blue Lagoon $9.99
(X combined with Y etc)
Red Sapphire $9.99
(Another X mixed with blah)
...
CCK for Drupal has the handy feature of allowing a single CCK field to accept multiple values via a "add another item" button that results in an array of data in the node.
I'm wondering if there's any easy way of adapting this for a non-CCK form that I'd be calling by drupal_get_form. I'd rather not have to re-invent the wheel with mult...
This question is basically a follow-up to this one:
http://stackoverflow.com/questions/1640534/drupal-custom-cck-field-with-multiple-child-fields
I need to build a CCK field type that stores several pieces of data, and fAPI form elements to accept the input for each piece of data already exist. These elements are built out into multip...
I have this fields in a view:
Node: Nid
Content: text1 Plain text
Node: Title
Node: Teaser
(text1 is a CCK textfield).
I want to output "Content: text1" as a title in link "Node: Title". For "Node: Title" I checked "Output this field as a link" and in "Alt text:" I have input pattern [field_text1_value]. In admin mode title...
On a node I have a cck reference to another node. What do I have to do to get nid of the referenced node.
Is it something like:
$node->field_name... uh something.
Anyone knows? Thanks.
...
I have built a multistep form using CCK, however I have a couple of issues outstanding but, not sure if CCK can help.
In one step of the form I have 2 select boxes, the first is auto populated from the vocabulary table with the following code and all woks well.
$category_options = array();
$cat_res = db_query('select vid, name from voc...
(Note: I originally posted this on drupal.org before remembering that I never get a response over there. So, sorry for the cross-posting)
Hello, is there a way (built-in or otherwise) to add preprocessing functions for particular cck node types? I am looking to do some preprocessing of a field within my cck node type. Currently I can ei...
I have a legacy PHP form that I'm moving over to Drupal 6. I'm trying to make things easy for me as well as the future admins of the site. The below form is the heart of the old site data. So far in cck I have Locations, in taxonomy I have Countries, now I just need to allow these Species data to be added. I would do it in CCK, but I als...
Hi,
I'm developing a basic system (using drupal) to manage a school. It has to handle courses, teachers and students, among other features.
With cck i've already created the courses and their respective subjects/disciplines.
My question is, how do i assign grades to each student on each subject/discipline?
How can i make those assigned...