logo

Paleta - Deixe colorido🎨

Palette — Construtor visual de páginas. Não precisa ser designer.

Demonstração ao vivo Baixar Palette

Scroll

Filhos de crianças não aparecem no menu de navegação do livro

22/02/2025, by Anônimo (não verificado)
Fóruns

I have a "Our Staff" Content Type, that includes a field for uploading an individual's CV as a PDF:

field_cv_file

I have created a View for this Content Type, then added it to page via Blocks

The twig file I'm using to render/style this area is:

views-view-fields--our-staff-view--block-1.html

I'm having trouble with the URL for the File Field

I can render it as a PDF icon link like this:

{{ fields.field_cv_file.content }}

But I want to obtain the 'raw' URL to apply inside a href, something like this:

<a href="{{ fields.field_cv_file.content }}">Download CV</a>

This however is not working.

I've tried a few different ways of rewriting the code in href, but none are working.

how would I do this?