Index: taxonomy_breadcrumb.info =================================================================== RCS file: taxonomy_breadcrumb.info diff -N taxonomy_breadcrumb.info --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ taxonomy_breadcrumb.info 9 Jan 2007 22:13:30 -0000 @@ -0,0 +1,6 @@ +; $Id$ +name = Taxonomy Breadcrumb +description = Enables taxonomy based breadcrumbs and allows for node assosciations with taxonomy terms. +version = 1.0x-dev +dependencies = taxonomy +package = Taxonomy Index: taxonomy_breadcrumb.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/taxonomy_breadcrumb/taxonomy_breadcrumb.install,v retrieving revision 1.4 diff -U3 -r1.4 taxonomy_breadcrumb.install --- taxonomy_breadcrumb.install 11 Nov 2006 21:48:15 -0000 1.4 +++ taxonomy_breadcrumb.install 9 Jan 2007 22:13:30 -0000 @@ -11,6 +11,7 @@ * Implementation of hook_install(). */ function taxonomy_breadcrumb_install() { + drupal_set_message('Installing taxonomy_breadcrumb.'); switch ($GLOBALS['db_type']) { case 'mysql': case 'mysqli': @@ -19,7 +20,7 @@ path varchar(128) NOT NULL default '', PRIMARY KEY (vid) ) TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */;"); - + db_query("CREATE TABLE {taxonomy_breadcrumb_term} ( tid int(10) unsigned NOT NULL default '0', @@ -43,3 +44,9 @@ break; } } + +function taxonomy_breadcrumb_uninstall() { + drupal_set_message('Uninstalling taxonomy_breadcrumb.'); + db_query('DROP TABLE {taxonomy_breadcrumb_vocabulary}'); + db_query('DROP TABLE {taxonomy_breadcrumb_term}'); +} \ No newline at end of file Index: taxonomy_breadcrumb.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/taxonomy_breadcrumb/taxonomy_breadcrumb.module,v retrieving revision 1.4 diff -U3 -r1.4 taxonomy_breadcrumb.module --- taxonomy_breadcrumb.module 15 Oct 2006 20:35:12 -0000 1.4 +++ taxonomy_breadcrumb.module 9 Jan 2007 22:13:30 -0000 @@ -140,28 +140,27 @@ } /** - * Implementation of hook_settings(). + * Implementation of hook_menu(). */ -function taxonomy_breadcrumb_settings() { +function taxonomy_breadcrumb_menu($may_cache) { + $items = array(); - $form['info']['taxonomy_breadcrumb_info'] = array('#type' => 'item', - '#value' => t('
The taxonomy_breadcrumb module generates taxonomy based breadcrumbs on node pages, where the breadcrumbs link to the normal taxonomy/term pages or to administrator defined pages. Breadcrumbs take the following form:
-[HOME] >> [VOCABULARY] >> TERM >> [TERM] ...
-See %link.
', array('%link' => l('admin/settings/taxonomy_breadcrumb', 'admin/settings/taxonomy_breadcrumb'))); + $output .= t('See %link.
', array('%link' => l('admin/settings/taxonomy-breadcrumb', 'admin/settings/taxonomy-breadcrumb'))); break; - case 'admin/modules#description': - $output .= t('Enables taxonomy based breadcrumbs and allows for node assosciations with taxonomy terms.'); + case 'admin/settings/taxonomy-breadcrumb': + $output .= t('The taxonomy_breadcrumb module generates taxonomy based breadcrumbs on node pages, where the breadcrumbs link to the normal taxonomy/term pages or to administrator defined pages. Breadcrumbs take the following form:
+[HOME] >> [VOCABULARY] >> TERM >> [TERM] ...
+