I created a form on the steps of install, that to allow add taxonomy terms on sponsor vocabulary.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eloivaque’s picture

The file

eloivaque’s picture

create patch for new version.

rvilar’s picture

Title: Created form of added taxonomies sponsor. » Add a form to create default sponsorship levels
rvilar’s picture

Status: Active » Needs work
+++ b/dc_cod.profile
@@ -96,6 +101,36 @@ function dc_cod_create_first_group() {
+ * Let the admin user create the terms of sponsors

Let the admin create terms for sponsors

+++ b/dc_cod.profile
@@ -96,6 +101,36 @@ function dc_cod_create_first_group() {
+    '#markup' => '<h2>' . st('Create your default terms.') . '</h2>',

Maybe its better a title like "Define sponsorship levels"

+++ b/dc_cod.profile
@@ -96,6 +101,36 @@ function dc_cod_create_first_group() {
+    '#title' => st('Taxonomy terms of sponsor'),

Better title: "Sponsorship levels"

+++ b/dc_cod.profile
@@ -96,6 +101,36 @@ function dc_cod_create_first_group() {
+    '#description' => st("Define taxonomies terms of sponsor."),

"Define sponsorship levels."

+++ b/dc_cod.profile
@@ -147,6 +182,24 @@ function dc_cod_create_first_group_submit($form_id, &$form_state) {
+ * @see commons_create_default_terms().

¿?¿?