how to configure the formatting of file upload in drupal 6
Question
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']
?>
Solution
To get the path to the file use:
<?php
print $node->field_factsheet[0]['filepath']
?>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow