Project

General

Profile

« Previous | Next » 

Revision 06722a3d

Added by Alex Theys about 12 years ago

AT: committing Palm extension changes to the CDM drupal module

View differences:

5.x/modules/cdm_dataportal/theme/cdm_dataportal.page.theme
124 124
        $markerTypesEmpty = array();
125 125
  $markerTypesEmpty['markerTypes'] = '';
126 126
    $taxonDescriptions = cdm_ws_get(CDM_WS_PORTAL_TAXON_DESCRIPTIONS, $taxon->uuid, queryString($markerTypesEmpty)); //retrieve all description for the taxon
127

  
127
	//$out .=print_r($taxonDescriptions);
128 128
    $nonStructuredDescriptions = array();
129 129
    if($taxonDescriptions != null){
130 130
      foreach ($taxonDescriptions as $taxonDescription) {
......
134 134
        if($hasStructuredData){
135 135
          $structured_description_featuretree_uuid = variable_get(CDM_DATAPORTAL_STRUCTURED_DESCRIPTION_FEATURETREE_UUID, false);
136 136
          $naturallanguage_textData = cdm_ws_get(CDM_WS_DESCRIPTION_NATURALLANGUAGE_DESCRIPTION, array($taxonDescription->uuid, $structured_description_featuretree_uuid));
137
          //$out .=print_r($naturallanguage_textData);
137 138
          if(!$naturallanguage_textData){
138 139
            drupal_set_message('The \'FeatureTree\' for the generation of natural language representations is not configured correctly, please select a \'FeatureTree\' in the '.l('CDM Dataportal Settings', 'admin/settings/cdm_dataportal/layout/taxon'), 'warning');
139 140
          }

Also available in: Unified diff