Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.2. Users manual

Installation

The installation of this extension is very simple. Just connect to the Typo3 Extension Repository and download «Mozilla/Firefox Search Plugin Generator» (mozsearch), located in the frontend plugin section. Note that you will also need to download version 2.6 (at least) of the «Developer API» extension (api_macmade), as it will be needed by the plugin.

When you install the extension, you'll notice a field called TypeNum.

This is the typeNum of the page wich will generate the search plugin. You only have to care about this if you already have an extension which uses the same typeNum. Otherwise, just leave the default one.

IndexedSearch

This extension is configured by default to work with the IndexedSearch extension, but it can be configured in order to work with other extensions as well.

Placing the plugin on a page

On a page, create a new content element anc choose «Mozilla/Firefox search plugin» from the list.

You'll now be able to configure the instance of the plugin through Typo3 flexforms. On the first tab, you'll see the basic options of the plugin. Basically, you just need to add the page with the search form. For the other options, please see the configuration section of this manual.

The second tab contains additional options relative to the plugin. Here again, please refer to the configuration section of this manual for more informations about those options.

Placing the plugin through TypoScript

The plugin can also be placed on the website through TypoScript. It will allow your visitors to download it from every page.

Basically, you just need to give the ID of the page containing the search form. For example:

plugin.tx_mozsearch_pi1.searchPid = 52

All available options are listed in the configuration section of this manual.

You will then need to place the plugin in you TypoScript template.

If you're using TemplaVoilà, just map an area of your HTML template with a TS object called, for instance, lib.mozsearch. Then, on your TS template:

lib.mozsearch < plugin.tx_mozsearch_pi1

If you're using the old autoparser method, just add the plugin on a subpart of your HTML template. For instance:

temp.mainTemplate {
    template =< plugin.tx_automaketemplate_pi1
    workOnSubpart = DOCUMENT_BODY
    subparts.mozsearch < plugin.tx_mozsearch_pi1