Answer the question
In order to leave comments, you need to log in
DLE, how to upload multiple files and output in a specific location?
Hello, who tried to make templates for DLE, I need to do the following thing in the template:
Through the admin panel, so that files are loaded, to these files so that you can make some kind of postscript (for example: a mod for the game), and display these files at the very bottom in a separate block, in which there will be a postscript, name and size of the uploaded file, and files so that you can upload an unlimited number.
Maybe some module is usually used for this or is the engine itself modified somehow?
Answer the question
In order to leave comments, you need to log in
Here I also figured it out, in general, you need to create an additional field in the form of several lines, enable a visual editor on it, remove protection from all kinds of links and tags in the editor (there is such a checkmark there).
Then an additional field with a visual editor will appear in the news itself, in which there is a button to insert a file, insert, save.
We set up the output of an additional field in the template, we set up the display of the file in the attachment.tpl file.
Well, everything looks the same.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question