[Solved]News field file upload mystery leading to null value
Posted: Fri Oct 03, 2014 12:26 pm
I am using cmsms 1.11.11 and I have created a news field definition with the following paramters:
From the admin interface, I can see the "file" input box on every article page under the news module. When I choose a file to upload and submit, the file name then reflects on the admin news article page. Great.
The problem is that my news details template is producing "null" for the following values associated to my "files" field definition... and..
Bottom line - How is it that I can see the name of my files I uploaded under my article pages in admin, but when I debug my value, and display value, I am getting null? The file images don't appear on the front of my site either....
FYI - the files I upload are not appearing under image manager, so I don't know if that is related to this null issue...
Any advice on debugging this mystery will be greatly appreciated!
Thanks!
Code: Select all
type = file
public status
The problem is that my news details template is producing "null" for the following values associated to my "files" field definition...
Code: Select all
$field->value
Code: Select all
$field->displayvalue
Bottom line - How is it that I can see the name of my files I uploaded under my article pages in admin, but when I debug my value, and display value, I am getting null? The file images don't appear on the front of my site either....
FYI - the files I upload are not appearing under image manager, so I don't know if that is related to this null issue...
Any advice on debugging this mystery will be greatly appreciated!
Thanks!