Posted by Agileware on February 17, 2010 at 2:30am
1 follower
| Project: | Inline |
| Version: | 5.x-2.x-dev |
| Component: | Documentation |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Usage and Examples in README.TXT are incorrect need updating. The refer to the tag [upload|file=1|title=test] but it should be [inline_upload|file=1|title=test] or [inline_upload|file=imag1.png|title=test].
The [upload tag is not used.
-- USAGE --
* For more details on using the module, see the help text by clicking:
/filter/tips/1#filter-inline after you install it.
[upload|file=#|title=Custom title text]
or
[upload|file=filename.ext|title=Any title]
You can specify the file you want to display in two ways:
- specifying #, which will display the #th uploaded file
- specifying filename
If the file is not found, a 'NOT FOUND' message will be output.
Specifying the file by number can cause problems if files are deleted or
changed. In this case, specifying by name is recommended.
You can also specify a title for the file, by using an optional 'title=Title'
parameter. In this case, it will be used as a title for the file link or as
an ALT tag for an image. If no title is specified, the file name is used as
title.
-- EXAMPLES --
* Suppose you uploaded three files (in this order):
- imag1.png (referred as file #1)
- file2.pdf (referred as file #2)
- imag3.png (referred as file #3)
* [upload|file=2] or [upload|file=file2.pdf]
will be replaced with <a href="file2.pdf">file2.pdf</a>
* [upload|file=1|title=test] or [upload|file=imag1.png|title=test]
will be replaced with <img src="imag1.png" alt="test" />