Example of Joomla application: very simple search

Example of Joomla application: very simple search

Here is the source code and the install procedure for a very basic Joomla application that works with the TBS plug-in.

This application present a search area, and the result of the search trough a table in the Joomla database.

Installation:
-------------
1) create a folder "applications/simple_search" under the Joomla folder.
2) put the following files
3) create a new Joomla article with the following contents: {tbs}script=applications/simple_search/index.php{/tbs}
4) in the TBS plug-in parameters (under Joomla plug-ins), add the article id to the hallowed ids.

Files:
------

index.php

<?php

/* Simple Search application
Skrol29, 2012-03-01
*/

if (!isset($TBS)) exit("This application can work only under Joomla.");