- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Other Tags
- Template Tag: File Link
Template Tag: File Link
This template tag displays a link to the current File.
Examples
Quick Template
[File:file_link|before=<span class="file_link">|after=</span>|link_text=icon]
PHP Template
$File->get_file_link( array(
     'before'    => '<span class="file_link">',
     'after'     => '</span>',
     'link_text' => 'icon',
  ) );
Parameters
| Param | Default | Usage | 
|---|---|---|
| 
 | 
 | Displayed before the link. | 
| 
 | 
 | Displayed after the link. | 
| 
 | 
 | Possible values:  | 
| 
 | 
 | CSS class applied to the link. | 
| 
 | 
 | Set to  | 
Return value
This tag displays content only, it does not have a return value.
 
							