When you use the file import in drupal 6 it adds a whole lot of formatting. How do I just get is to return the path. I am printing the following.
<?php
print $node->field_factsheet[0]['view']
?>
When you use the file import in drupal 6 it adds a whole lot of formatting. How do I just get is to return the path. I am printing the following.
<?php
print $node->field_factsheet[0]['view']
?>
To get the path to the file use:
<?php
print $node->field_factsheet[0]['filepath']
?>