21294 Posts in 5734 Topics by 2602 members
General Questions
SilverStripe Forums » General Questions » filename and URL bringing up just directory name after uploading with uploadify
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 608 Views |
-
filename and URL bringing up just directory name after uploading with uploadify

10 March 2011 at 12:21pm
filename and URL bringing up just directory name
had a search around and couldn't find this anywhere. trying to access a file from the frontend template by using $variable.Filename or $variable.URL
I even tried a custom function in the controller like below
public function getHomePageVideo(){
return $this->homePageVideo()->Filename;
}but always get the same result assets/ and not the filename or the directory the file is stored in, btw I used uploadify in the CMS to upload the file, it is saved in the db and I can see it in FTP and edit it in the CMS but just can't get it out from the frontend. been trying for a while now so hoping someone recogizes what is going on here. thanks for the help
-
Re: filename and URL bringing up just directory name after uploading with uploadify

17 March 2011 at 12:39pm
any thoughts? there must be something simple i'm missing or possibly a server setting?
really appreciate any help
| 608 Views | ||
|
Page:
1
|
Go to Top |

