attachment-links.base.css |
attachment-links.base.css |
|
/**
* CSS for attachment_links module. Paths are to core file module.
*/
.al-file {display: inline-block; padding-left: 18px; }
.text-plain {background: url('/modules/file/icons/text-plain.png') no-repeat left 1px; }
.text-html… |
attachment-links.tpl.php |
attachment-links.tpl.php |
|
Renders the permalinks to a node's files. |
attachment_links.field-formatters.inc |
attachment_links.field-formatters.inc |
|
Field formatters for attachment_links module |
attachment_links.info |
attachment_links.info |
|
name = Attachment links
description = Creates permalinks to the latest and/or canonical version of a node's attached file.
core = 7.x
package = Other
dependencies[] = file
files[] = attachment_links.install
files[] =… |
attachment_links.install |
attachment_links.install |
|
attachment_links.install
Provides install, uninstall, and update hooks. |
attachment_links.module |
attachment_links.module |
|
|
README.txt |
README.txt |
|
Installation & Setup
=======================
1. Create a content type that will contain the files, for e.g., call it 'File'.
2. Add a file field to the content type. You'll probably want to set it to
contain multiple values.… |