Terminal-like Display

Terminal-like Display
Joomla! 1.5 Download
Joomla! 1.6 Download
Type Joomla! plugin
Compatibility Joomla! 1.5 Joomla! 1.6
Version 2.0

 

Description

Terminal-like Display plugin allows you to present your content like it is displayed in terminals (command line interface)!

Copying and pasting texts from terminals is common in tutorials where a command line interface is necessary (for example in various Linux tutorials). This plugin aims directly to users writting such tutorials, allowing them to familiarize users with the command line interface.

Furthermore, since the formation of the text is maintaned multiple empty spaces or tabs do not collapse to a single space, thus allowing you to present your text as it is meant to be displayed.

To view the plugin in action please switch to the Demo tab.

Installation

Instructions for Joomla! 1.5

Step 1: Login to the Administration Panel (http://yourdomain/administrator)

Step 2: Go to the Extension Manager (ExtensionsInstall/Uninstall) Extension Manager

Step 3: Browse for the downloaded file (1) and once selected press the Upload File & Install button (2) Browse & Install

Step 4: If the installation was successful, you should see something like this

Instructions for Joomla! 1.6

Step 1: Login to the Administration Panel (http://yourdomain/administrator)

Step 2: Go to the Extension Manager (ExtensionsExtension Manager) Extension Manager

Step 3: Browse for the downloaded file (1) and once selected press the Upload & Install button (2) Browse & Install

Step 4: If the installation was successful, you should see something like this

Congratulations, you have installed the Terminal-like Display plugin. Please move on to the Usage tab for usage instructions.

Usage

Instructions for Joomla! 1.5

Step 1: Go to the Plugin Manager (ExtensionsPlugin Manager) Plugin Manager

Step 2: Find the Content - Terminal-like Display entry and click on its name Terminal-like Display

Step 3: Enable the plugin Enable Plugin

Instructions for Joomla! 1.6

Step 1: Go to the Plugin Manager (ExtensionsPlugin Manager) Plugin Manager

Step 2: Find the Content - Terminal-like Display entry and click on its name Terminal-like Display

Step 3: Enable the plugin Enable Plugin

Save the changes and create a new article. Enter your text within { terminal }...{ /terminal } tags and that's it! Please be sure to remove empty spaces after opening "{" and before closing "}" brackets.

Demo

Pasting text from a command line interface without using the Terminal-like Display plugin results in the following output:

Terminal-like Display - Before

Surrounding the text with the appropriate tags (see Usage tab) results in the following output:

Terminal-like Display - After

Issues:

The TinyMCE editor found in Joomla! removes the empty spaces found in the beginning of a line. A workaround is to add a character (does not matter which) before the empty spaces. In the above output, we have added a dot in the beginning of the last two lines, thus maintaining the empty spaces and presenting the text correctly.

Changelog

Version 1.0

  • Initial release for Joomla! 1.5

Version 1.5

  • Plugin released for Joomla! 1.6
  • English language file added

Version 2.0

  • Plugin re-written from scratch
  • Greek language file added
  • CSS separated from PHP code
  • Current plugin version is shown in Plugin Parameters

Please always use the latest version of the plugin. To upgrade first uninstall the previous version and install the latest one.