Multivalue/Compound CCK Text-field
Does anyone here have experience creating multivalue/compound CCK text-fields? I'm trying to create one and so far it seems you either have to a) make your own cck component or b) use Form API. Any advice would be much appreciated.
Read morejsonrpc, services and views - need to have imagefield filename in response that is NOT node type.
I saw this mentioned a few times in various posts, but could not find a solution.
If I utilise a view in "node" format, then I do indeed get the imagefield file information required to load the image. HOWEVER, I also get a number of large "blob" style text field contents as the entire node is returned, this requires much more bandwidth (3x more) for each item, at least. Thus making the call slow and wasting time and bandwidth. I also cannot determine how to get fivestar rating values to be returned for each node in the "node" format option.
Read morecorrect parameters for file.save and node.save to create a new node with a cck imagefield?
OK, have got file.save working with jsonrpc post content like:
method="file.save"¶ms={
"file":{
"file":"BASE64STUFF",
"uid":"5",
"timestamp":"1269406525",
"filename":"test.jpg",
"filepath":"sites/default/files/test.jpg"
},
"sessid":"3qbg2lv0bpjlfve3vim0b7t627"
}
and a subsequent node.save with jsonrpc post content like:
{
"field_image": [ {"0": {"fid":"25"} } ],
"uid":"5",
"title":"test node",
"type":"cardobject"
}
Field Mapping API
This comes out of the LinkedIn module brainstorm issue, here:
http://drupal.org/node/740690
Basically, we got talking about how we are going to map data coming back from LinkedIn to specific CCK (Drupal 6-)/core (Drupal 7+) fields. I noted I was always wanting to do this, but never managed to tackle the problem properly. For example, the NITF Views module could do with some interface to allow you to map fields to specific elements of the NITF schema. My XML Parser module could do with some kind of field mapper UI too. So could LinkedIn. So could dozens of modules, I'm sure.
Read moreUsing Node Reference in a custom module form
Has anyone got a nodereference form to work correctly in a custom module (in autocomplete mode?) It seems that the autocomplete ajax function expects more data than exists and so constantly returns an empty array [ ] of options.
Any suggestions for using nodereference in a custom module form?
Thanks
Read moreCustom Block linking to external websites using CCK fields
I'm trying to use Content Profile & CCK to allow users to input some information from various social networks. Right now I'm just using textfield, one for each social network (twitter, facebook, linked in, etc) to input either a link or their username from that social network.
My goal is to be able to create a block so that when people visit their profile, they will have a block that just contain icons representing each of the networks if that CCK field is filled out (i.e. if they've entered that info).
Read moreEmail From CCK Value
Hi all,
I've searched through these threads and I haven't seemed to find an answer to this type of question..
I've created a form in which question 3 asks for an email address (of email field type), and once that form is submitted, I'd like the form's edit node to be emailed to that specified email address (which is not the email address of the user creating the form)
IF
node type: customer satisfaction survey
on submit
DO
Get value from field 3 (an email address)
Send email to email address referenced
Message contains a link to the edit node url of that form
linking users to contents!
hello every one ...
well i'm very new to drupal
and i'm making a jobs portal i've created a new content type and i called it positions , and created new user role and i called it job seeker ,
is there any way that if the job seeker click to apply for certain job , to link his profile to this content type ?
Read moreLåta användare välja vilka fält som skall synas i en matrikel
Jag har genom CCK skapat en innehållstypen Profil. I detta har jag bland annat fälten förnamn, efternamn, postadress, postnummer, stad, telefonnummer osv.
Jag har skapat en vy för att visa alla uppgifterna och med hjälp av Views Bonus Pack kan jag exportera vyn till Excel, vilket är smidigt om man till exemepl vill koppla en utskrift av uppgifterna till adressetiketter.
Read moreCCK field names in JSON service results
When using the block display in views to generate a JSON object for the services module, specifically the views.get method, the names (and hence keys in JSON) generated are decidedly unfriendly.
For example:
{"#error":false,"#data":[{"nid":"56","node_data_field_identifier_field_footer_value":null,"node_data_field_identifier_field_footer_format":null,"node_type":"page","node_vid":"159","node_revisions_body":"","node_revisions_format":"2","node_revisions_teaser":"","node_title":"Career Advice","node_revisions_timestamp":"1266478559","node_data_field_identifier_field_whatsthis_value":"<p>Our career advice section provides you with excellent articles that can help you improve your career.<\/p>","node_data_field_identifier_field_whatsthis_format":"2"}]}In the above case, I've attached a CCK field 'footer' to the content type, and the view is being accessed with an argument of field 'identifier'.
This wouldn't be so bad if it was consistent in its naming. Here's another example:
[{"#error":false,"#data":[{"nid":"113","node_data_field_footer_field_footer_value":null,"node_data_field_footer_field_footer_format":null,"node_type":"article","node_vid":"213","node_revisions_body":"



