Having problems getting all three fields onto one widget. 1 Taxonomy 2 date fields. Is this even possible?
looking to create a field to accept the pieces and return an outut like "1999 - 2010 Ford".
Cheers for looking.
.module file
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Implements hook_field_info().
*/
function motorcyclewidget_field_info() {
return array(
'motorcyclewidget_startdate' => array(
'label' => t('Motorcycle Widget Startdate'),
'description' => t('A Start Date Time Period'),
// 'instance_settings' => array(
// 'motorcyclewidget_startdate' => 0,
// ),
'default_widget' => 'motorcyclewidget_widget',
'default_formatter' => 'motorcyclewidget_formatter',
),
'motorcyclewidget_enddate' => array(
'label' => t('Motorcycle Widget Enddate'),
'description' => t('A End Date Time Period'),
// 'instance_settings' => array(
// 'motorcyclewidget_enddate' => 0,
// ),
'default_widget' => 'motorcyclewidget_widget',
'default_formatter' => 'motorcyclewidget_formatter',
),
'motorcyclewidget_make_model' => array(
'label' => t('Motorcycle Widget Make and Model'),
'description' => t('A taxonomy Make Model'),
// 'instance_settings' => array(