Blog Featured Files extends the RainLab.Blog plugin with a possibility to upload media manager files.
Blog Featured Files extends the RainLab.Blog plugin with a possibility to upload media manager files.
Use the following code to embed featured files / attachment to the blog post page:
{% for file in post.featured_files() %} <a target="_blank" href="{{ file.path | media }}">{{ file.name }}</a><br/> {% endfor %}
-
Unnop Sricharoenchai
Found the plugin useful on 10 Jun, 2020
It's work but need a little bit fixing. From the documentation. I wrote like this
{% for file in post.featured_files %}
<a target="_blank" href="{{ file.path }}">{{ file.file_name }}</a><br/>
{% endfor %}
-
1.0.3 |
Remove unknown fields in background page Dec 03, 2016 |
---|---|
1.0.2 |
Fixes exception "Invalid argument supplied for foreach()" thrown during the template rendering Nov 02, 2016 |
1.0.1 |
Initialize plugin. Oct 11, 2016 |