Hi there,
i have a channel with a file field type but I’d need to print only the file name and not the full path. Is it possible?
Thanks in advance,
Luca
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
October 05, 2011 6:31am
Subscribe [4]#1 / Oct 05, 2011 6:31am
Hi there,
i have a channel with a file field type but I’d need to print only the file name and not the full path. Is it possible?
Thanks in advance,
Luca
#2 / Oct 05, 2011 7:50am
Hi Luca
Check out File Oracle: http://devot-ee.com/add-ons/file-oracle
It has a few tags which will be useful, such as {filename} and {extension}...
Hope it helps
#3 / Oct 05, 2011 8:20am
Thank you Matt, I’ll have a look at it even if I just solved it by using channel files. I didn’t think about it even if i had already installed it for that website because on that field i need users to upload only one file per time, so i’ll try with the add-on you suggest
Thanks again
#4 / Oct 05, 2011 9:24am
Thanks for the assist, Matt.
Luca - Feel free to start a new thread if you have any more questions.