55 Posts
Olek T.
6 years ago
1
Topic

Hi,

I want to override a position of my template and I have a file upload field in it. So I'd like to call the link of the uploaded file, which is rather simple, BUT I want it uncoded - I mean I want the direct link, not the typical 'complicated' link, which is generated by the field. Is it possible in the first place?... What should I call instead of echo $cck->getLink('upload_file_field');?

Get a Book for SEBLOD
55 Posts
Olek T.
6 years ago
0
Level 1

Damn! I've just found it myself. It should be: echo $cck->getValue('upload_file_field'); instead of (...)getLink(..). Simply as that.

Get a Book for SEBLOD