R
R
Rob1n Bobin2017-01-06 23:39:27
1C-Bitrix
Rob1n Bobin, 2017-01-06 23:39:27

How to display a link to download the 1c-Bitrix file?

Catalog of instructions for equipment.
There is an infoblock with the file type property, code FILE_PDF.
Now the structure is as follows: manufacturer> instructions> detailed description
For output, I use the full catalog.
What should I write instead of a link to a detailed description in order to get a link to download a file, i.e. the structure should become:
Producer > instruction(name-link)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rob1n Bobin, 2017-01-07
@sp1rob

Here is a working solution.
Taken from https://camouf.ru/blog-note/421/
There's a lot more to see

<? echo '<a href="'.CFile::GetPath($arItem["PROPERTIES"]["СВОЙСТВО"]["VALUE"]).'"><? echo $productTitle; ?></a> '; ?>

S
Sergey, 2017-01-06
@gangstarcj

var_dump($arItem);
You learn a lot of new

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question