Drupal 6.x and CCK FileField Path Issue
I'm using Drupal 6.x with the CCK FileField module. I'm not using Clean URLs, PathAuto, or the out-of-the-can Path module. I'm having problems understanding why a CCK FileField "filepath" array value keeps having the word "node" prepended to a URL when a var_dump doesn't...
Here's some code to better illustrate my issue:
Code:
...
if($node->foobar_files[0][view]){
foreach($node->foobar_files as $k){
var_dump($k['filepath']);<-------------------------------------------------------------------- Doesn't have the word "node".
print '<li><a href="'.$k['filepath'].'" title="'.$k['filename'].'">'.$k['filename'].'</a></li>';<----------- DOES have the word "node".
}
}
...
How can the same variable be displaying / generating different values like this? Would this be an HTACCESS issue? apache.conf? Preprocessing from template or something?
Help is appreciated. This is driving me nuts... I'll post back if I find a fix... Chances are, it's just something stupid that I'm overlooking or whatever...