project; // expand the project to include the properties. $project = tripal_core_expand_chado_vars($project,'table', 'projectprop', array('return_array' => 1)); $projectprops = $project->projectprop; $properties = array(); foreach ($projectprops as $property) { // we want to keep all properties but the project_description as that // property is shown on the base template page. if($property->type_id->name != 'project_description') { $property = tripal_core_expand_chado_vars($property,'field','projectprop.value'); $properties[] = $property; } } if (count($properties) > 0) { ?>
Properties
Properties for this project include:
Property Name Value
type_id->name)) ?> value ?>