JQuery for CCK field best practices and help
Hi all.
I'm still relatively new to the development side of Drupal, so please excuse these dumb questions.
Essentially, I am attempting to add a jQuery plugin (http://plugins.jquery.com/project/spin-button) that works on a text box to increment/decrement an integer value in the box. That text box was created using the CCK for a custom content type. Upon inspecting the DOM when adding/editing that content type, I see the ID = "edit-field-player-strength-0-value".
So, I am attempting to use the Spin plugin with my CCK field in the following way:
<
ol>
Read moreLooking for advice on a complex system of executed rules on nodelist from views.
In my system I have a series of nodes that are created every hour, each one with a set of environmental paramaters. the date is stored as a cck datetime with the time ignored and the time is stored as an integer in a cck feild and is from 0-23. Lastly is a field called station which contains a code for a particular station. Now at run time during creation of the nodes, which is handled by feedapi, a series of physics equations which has been converted into php functions and are activated by a set of trigger rules and rule sets.
Read moreIndex & Hierarchy API: browsable data display based on (virtual) hierarchy.
Sökfunktion i för CCK
Jag undrar om någon vet något smidigt sätt att göra en sökfunktion för CCK. Användaren ska kunna söka på ett eller flera fält. I detta fallet är det en sida om öl så jag vill att användare ska kunna söka på tex ölsort & alkoholhalt (eller vad nu som intresserar användaren). Se maltdryck.com
//Fredrik
Read moreCCK text field with 'size' attribute
The official stance on adding the HTML 'size' attribute to CCK text fields seems to be, "Standard Drupal behavior is to make fields 60 characters long and 95% wide. If you need to change a field length, do it in CSS or with hook_form_alter()."
Our clients don't necessarily know CSS or Drupal module development, and it seems like a no-brainer that you should be able to specify the size of a field in the field settings form. Heck, I know CSS and module development, and I'd much rather be able to just change a form value than muck with code.
Read moreAny experience with Fieldgroup tabs?
Looks like my product information could get really lengthy to fit on one page so dividing it into sub sections per product would help. I know that I could probably do this via the theme's css and create tabs from that. However, I saw this module which is still in development snapshot state:
http://drupal.org/project/cck_fieldgroup_tabs
http://drupal.org/project/issues/cck_fieldgroup_tabs?status=Open&priorit...
Read moreCCK values from an external datasource
In our project we need to have a select box which lets the user choose among a list of items coming from an external data source (XML based webservice). It would be interesting to be able to retrieve the values of a CCK field from an external data source instead to "hardcode" the full list of values. A way to do it could be to specify, in the field setting, the XML end point and an xPath expression to map the values contained in the XML as values of the CCK field.
Any feedback on this?
Read moreCCK field value synchronization
Hi,
I've been working on a very small module the last two days which has this specific functionality right now:
- If translation is enabled, an aditional fieldset becomes available on the content type edit form
- The fieldset lists all existing fields of a content type (title, body and all other cck fields)
- You can select which fields should be synchronized when a node is updated
Genealogy with views and cck (and RDF?)
In http://drupal.org/node/395586 I suggest a way to create genealogies via cck and views. I am working on implementing it on a drupal site, but wondered if there is any input these groups can provide me with:
I would like to add that I plan on primarily using prepopulate in creating links for this, but I can see that some stuff will need some module code in order to be user friendly.
Read moreHelp shape a Content Types and Views book
I am currently in the very beginning stages of writing a book on Drupal Content Types that will focus on Core, CCK, and Views. I have a first draft of the outline that I am working on. I would love to get community feedback to help shape the book at this very early stage.
http://alanio.net/blog/2009/02/first-draft-drupal-book-outline-content-t...
Thank you,
Alan







