This module is totally useless for anything that doesn't use "airport codes" and the author's custom data-structure for location data.

It needs to be abstracted to allow node-reference by Title or Custom Field.

Comments

snufkin’s picture

Assigned: Unassigned » snufkin

i completely agree

snufkin’s picture

but besides agreeing i can't do much until my summer of code period ends. You can help by trying to patch, or giving me directions. Some base of reference is needed, at least a definition (which can come from database, or hard-coded) by the new nodes are to be built.

guardian’s picture

Autonode is a widget for CCK that allows you to refer, or create nodes automatically. It features an autocomplete textfield, where one can select the already existing titles to refer to. If typed in a not yet existing title, the node will be automatically created according to an imported database.

no it does not, it only provides a "Define by airport codes" widget:

// $Id: autonode.module,v 1.1.2.3 2007/04/28 17:59:42 snufkin Exp $

...

function autonode_widget_info () {
  return array(
    'airport_codes' => array(
      'label' => t('Define by airport codes'),
      'field types' => array('autonode', ), 
/** note the space beween field and types 
 * otherwise content_admin.inc errors 
 */
    ),
  );
}  

maybe you should consider using a sandbox instead of publishing a user that is very unfinished and which doesn't provide what is advertised ? :)

snufkin’s picture

you are right in that this is a work in progress. Maybe this should be more clearly indicated on the project page. I thought it is useful to publish, so others who want to finish it can have a codebase, and a working example to start from. I intend to complete the module, and am accepting patches. If i put it to sandbox nobody can benefit from this.

snufkin’s picture

Status: Active » Fixed

check the new dev version. I completely rewrote the whole module, removed any airport-related parts. You can now use any table in your database as reference table, and assign to most of the fields (CCK and default node fields for now) values from it.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.