Created
August 9, 2011 04:21
-
-
Save marcoscoelho/1133412 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
{pyro:files:listing folder="root/subfolder" type="i"} | |
<li> | |
* {id} | |
* {folder_id} | |
* {user_id} | |
* {type} | |
* {name} | |
* {filename} | |
* {description} | |
* {extension} | |
* {mimetype} | |
* {width} | |
* {height} | |
* {filesize} | |
* {date_added} | |
</li> | |
{/pyro:files:listing} | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="publishedHolder"> | |
{pyro:files:listing folder="writing-articles"} | |
<p class="bolder"> | |
{filename} | |
<a href="{pyro:url:site uri='files/download/{id}'}"> | |
<img src="{pyro:url:site uri='images/view.jpeg'}"/> | |
</a> | |
</p> | |
<p> | |
- {description} | |
</p> | |
{/pyro:files:listing} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Look at the syntax:
Wrong:
{pyro:url:site: uri='files/download/{id}}
Right:
{pyro:url:site: uri='files/download/{id}'}