Hi,
I am trying to build a Drupal site where the node title is computed by adding some existing CCK fields, and it's really a big pain.
I have found the auto node title module, wich already does half of what I need. This code hides the title form fields from the node types I choose, and it changes the node title to the content type.
Instead of the content type, I want the title to be 3 custom fields, I already managed displaying this title in the a views page with this code:
<h2 class="review"><a href="<?php print $url; ?>"><?php print $field_year_value;?> <?php print $term_node_1_name; ?> <?php print $field_model_designation_value; ?></a></h2>
However, using the method only gives me more problems and inconsistencies. So hopefully we can change the module code below to use my CCK fields rather then content type for a title.
I have some experience messing around with php code, but the code below that generates $title is beyond me, I don't get what's going on with the % signs.
Task:
-Modify the auto node title module to turn the title into the CCK variables that I printed in the code snippet above
-Document all the changes you made so that I can easily do it again myself but with other variables
-All work must me done in the module itself and if neccessary in phptemplate files. No changes in core and other modules.
Please send me your quote + estimated time of development to: jurriaan_roelofs at hotmail.com