Loading...
 
Skip to main content

History: Pluginviewtextfile

Source of version: 5 (current)

Copy to clipboard
            ! Plugin View Text File

Use this ((wiki plugin)) to display the contents of a plain text (text/plain) file stored in the File Gallery. This is useful when you want to present static text content in a formatted and scrollable view directly on a wiki page. It supports configurable line ranges, display dimensions, line numbers, and file metadata.

!! Parameters

{pluginmanager plugin="viewtextfile"}

!! Example

{CODE(colors="tiki")}
{viewtextfile fileId="2214" showfileinfo="y"  width="600" height="700" showlinenumbers="y"}
{CODE}

{FADE(label="This will display the text file on a wiki page as shown" icon="y")}
{viewtextfile fileId="2214" showfileinfo="y"  width="600" height="700" showlinenumbers="y"}
{FADE}

This example displays file ID __1625__ from the File Gallery. The viewer is __600x700 pixels__, shows __file information__, and displays __line numbers__.

!! Related pages
((PluginFile))
((PluginFiles))
((PluginGoogleDoc))
((PluginWebDocViewer))
((PDFPage))
((PluginSheet))

-=Aliases=-
(alias(PluginTextFile))
(alias(PluginViewText))