Search function for the Moyo CCK. Instead of searching into com_content
, it searches into its own indexed tables. This enables the developer to make content from their components searchable at a whim.
Kutafuta was developed by Moyo Web Architects.
- Joomla 3.X . Untested in Joomla 2.5.
- Koowa 0.9 or 1.0 (as yet, Koowa 2 is not supported)
- PHP 5.3.10 or better
- Composer
- Moyo Components
- com_cck
- com_moyo
Installation is done through composer. In your composer.json
file, you should add the following lines to the repositories
section:
from this repository;
{
"name": "moyo/com_kutafuta",
"type": "vcs",
"url": "https://github.com/kedweber/com_kutafuta.git"
}
or from the official repository;
{
"name": "moyo/com_kutafuta",
"type": "vcs",
"url": "https://github.com/moyoweb/com_kutafuta.git"
}
The require section should contain the following line:
"moyo/com_kutafuta": "1.1.*",
Afterwards, one just needs to run the command composer update
from the root of your Joomla project. This will
effectively create a composer.lock
file which will contain the collected dependencies and the hash codes for
each latest release (depending on the require section's format) for each particular repo. Should installations
problems occur due to a bad ordering of the dependencies, one may need to go into the lock file and manualy change
the order of the components. Running composer update
again will again cause a reordering of the lock file, beware of this factor when running an update. Thereafter, you can run the command composer install
.
If you have not setup an alias to use the command composer, then you will need to replace the word composer in the previous commands with the
commands with php composer.phar
followed by the desired action (eg. update or install).
Another option, currently only available for Moyo developers, is by using the jsymlink script from the Moyo Git Tools.
Upon installing, all that needs to be done is enable the Kutafuta plugin. It is in the 'search' group.
The components and other items that are to be searchable, need to be indexed. As yet, this is a one time manual procedure.
Any component with kutafuta support has a button in the plural views that are labeled index
. For each language, each
element, click once. Wait a while and you're done.
Please note that for automatic indexing, the indexable
controller behavior and searchable
database behaviors are to be added to the indexable items.