CCK Computed Field Rocks
So I’m still working on my drupal side project. My latest issue is that I have compound fields which I want to enter and store as individual fields but display and index as a single field. After making some attempts to do this a couple different ways. I decided that Computer Field might be the solution to my problems. Computed Field allows you to use PHP to create a field based on the PHP code. You can use PHP to do math, grab dates or even process existing fields. So for my titles which actually consist of a title and subtitle field is create a computed field which concatenates the title and subtitle for indexing purposes. This is also a great way to get around the fact that FlexiField and Views don’t work together. Another way I’m using Computer Field is to build a single date field for display purposes when I actually use several fields for collecting/entering date information. I’m still thinking through all the potential uses but I’m glad I figured it out because it is helping me out considerably.
If you are doing generated titles, check out this module – http://drupal.org/project/auto_nodetitle. That is what we use…