IMAmuseum / tap-cms

Authoring tools for the TAP mobile application software platform, built on top of Drupal. Learn more about the project at TAPintoMuseums.org.
https://github.com/IMAmuseum/tap-cms/wiki
GNU General Public License v3.0
24 stars 8 forks source link

Connection field empty #28

Closed hannolans closed 12 years ago

hannolans commented 12 years ago

The CMS starts producing valid tourML after providing the right value in the stop connection field at the page 'admin/tap'. Value should be 'field_tour'. This can be added to the feature.

cmoad commented 12 years ago

Provided patch

diff --git a/modules/tap/tap_features/tap_features.strongarm.inc b/modules/tap/tap_features/tap_features.strongarm.inc
index 08421d8ade72b1db8cec62b1b77d3507dedb8043..3362b475c248f99b93a4228a447ac14a771da205 100644
--- a/modules/tap/tap_features/tap_features.strongarm.inc
+++ b/modules/tap/tap_features/tap_features.strongarm.inc
@@ -847,5 +847,12 @@ function tap_features_strongarm() {
   $strongarm->value = 1;
   $export['node_submitted_tour_video_stop'] = $strongarm;

+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'tap_connection_field';
+  $strongarm->value = 'field_tour';
+  $export['tap_connection_field'] = $strongarm;
+
   return $export;
 }
cmoad commented 12 years ago

Thanks Hanno. This was one of the next items on our list.