body becomes $body. When needing to * access a field's raw values, developers/themers are strongly encouraged to * use these variables. Otherwise they will have to explicitly specify the * desired field language; for example, $node->body['en'], thus overriding any * language negotiation rule that was previously applied. * * @see template_preprocess() * @see template_preprocess_node() * @see template_process() * * @ingroup themeable */ ?> ';var_dump($node);exit; $title = ''; if(isset($node->title)){ $title = $node->title; } else { $title = "N/A"; } ?>
field_gene['und'][0]['target_id'])){ echo return_gene_link($node); } else{ echo "N/A"; } ?>
ONTOLOGY TERM: ONTOLOGY TYPE:field_aspect['und'][0]['taxonomy_term']->name)) { echo $node->field_aspect['und'][0]['taxonomy_term']->name; } else{ echo "N/A"; } ?>
EVIDENCE CODE:field_evidence_code['und'][0]['taxonomy_term']->name)) { echo $node->field_evidence_code['und'][0]['taxonomy_term']->name; } else{ echo "NA"; } ?>
ANNOTATION EXTENSION:field_annotation_extension['und'][0]['value']) && $node->field_annotation_extension['und'][0]['value'] != ""){ echo $node->field_annotation_extension['und'][0]['value']; } else{ echo "N/A"; } ?>
QUALIFIER:field_qualifier['und'][0]['value']) && $node->field_qualifier['und'][0]['value'] != ""){ echo $node->field_qualifier['und'][0]['value']; } else{ echo "N/A"; } ?>
GENE PRODUCT FORM ID:field_gene_product_form_id['und'][0]['value'])){ echo $node->field_gene_product_form_id['und'][0]['value']; } else{ echo "N/A"; } ?>
WITH OR FROM: REFERENCE:field_data_source['und'][0]['value']; $fc = field_collection_item_load($fc_id); if(!empty(return_data_source($node))) { if($fc->field_source_name['und'][0]['tid'] == 2345){ $ob_id = $fc->field_object_id[LANGUAGE_NONE][0]['value']; $node_bilio = node_load($ob_id); $node_view = node_view($node_bilio,'teaser'); $rendered_node = drupal_render($node_view); echo $rendered_node; }else{ echo return_data_source_fc($node); } }else{ echo "N/A"; }?>
ASSIGNED BY:field_assigned_by['und'][0]['value'])) { echo $node->field_assigned_by['und'][0]['value']; } else{ echo "N/A"; } ?>
CONTRIBUTOR(S): CURATOR(S): "; print_r($node->field_publication); exit(); --> // $Publication = 0; // foreach ($node->field_publication['und'] as $value) { // // echo 'keyss'; print_r($key); // // echo ""; print_r($value);
// //print_r($node->field_publication['und'][$Publication]['entity']->nid);
// if($node->field_publication['und'][$Publication]['entity']->nid){
// $biblio_nid = $node->field_publication['und'][$Publication]['entity']->nid;
// $node_bilio = node_load($biblio_nid);
// $node_view = node_view($node_bilio,'teaser');
// $rendered_node = drupal_render($node_view);
// echo $rendered_node;
// }else{
// echo "N/A";
// }
// $Publication++;
// }
// if(isset($node->field_publication['und'][0]['entity']->nid)){ echo $node->field_publication['und'][0]['entity']->title; } else{ echo "N/A"; }
?>
Gene Name | Gene Symbol
coming soon - under constructionGene Name | Gene Symbol
coming soon - under constructionGene Name | Gene Symbol
coming soon - under constructionGene Name | Gene Symbol
coming soon - under constructionGene Name | Gene Symbol
coming soon - under construction...View all homologus genes
Gene Name | Gene Symbol
coming soon - under constructionGene Name | Gene Symbol
coming soon - under constructionGene Name | Gene Symbol
coming soon - under constructionGene Name | Gene Symbol
coming soon - under constructionGene Name | Gene Symbol
coming soon - under construction...View all homologus genes
"; print_r($value);
//print_r($node->field_publication['und'][$Publication]['entity']->nid);
if(!empty($node->field_publication['und'][$Publication]['entity']->nid)){
$biblio_nid = $node->field_publication['und'][$Publication]['entity']->nid;
$node_bilio = node_load($biblio_nid);
$node_view = node_view($node_bilio,'teaser');
$rendered_node = drupal_render($node_view);
echo $rendered_node;
}else{
echo "N/A";
}
echo'';var_dump($node->field_publication);exit;
$Publication++;
}
// if(isset($node->field_publication['und'][0]['entity']->nid)){ echo $node->field_publication['und'][0]['entity']->title; } else{ echo "N/A"; }
?>