Adding a Search Bar

If you remember, you enabled the search feature when you configured the Tiki features. Tiki includes a default Search module that you can configure and add to your site.

You can add the search module to the Top Bar area of Tiki, just like adding any other module.

  1. From the Admin menu in the Menu module, select Admin > Modules.

     Tip

    You can also access the Admin: Modules page by using the Modules link in the Quick Admin area.
  2. On the Assigned Modules tab, click Add Module.
  3. In the Assign New Module area, select the Search module and click Module Options.
    Selecting the Search module.
  4. In the Edit this module, click the Basic tab.
    Configuring the Basic options.
  5. Enter the following information in each field on the Basic tab:
    • Position: Topbar
    • Groups: Anonymous
  6. Click the Appearancetab.
    Configuring the Appearance options.
  7. Enter the following information in each field on the Appearance tab:
    • No Box: y
  8. Click Assign. Tiki prompts for confirmation, then saves the page and adds the search module to the top bar area:
    Tiki Top Bar
    The search module is now in the top bar area.


By default, the search bar includes the following buttons:

  • Search: Performs a full-text search.
  • Go Automatically opens the specified wiki page. If it does not exist, performs a search.
  • Edit: Allows you to edit (or create) wiki pages. The button appears only if the visitor has permission to create and edit pages.

 Note

The Search module is highly configurable. Refer to the [http://tiki.org/Module+Search|Tiki Documentation for complete details.

 Note

You can also add a search box by using a module. Tiki includes several types search modules:
  • search_box
  • search_new
Refer to Adding the Search Module for information on using on the search modules.

 Tip

Remember, only groups with the correct permission can use (or even view) this search bar. If some users cannot see the search bar, you will need to add the tiki_p_search to their group.


<HR>

Copyright

This guide is based on content originally published by KeyContent.org.

This guide is Copyright (C) 2007-2013, 2019 by Rick Sapir and others under a Creative Commons Attribution-Share Alike 4.0 License. Some rights reserved.

Essentially, you are are free:

Image

to Share — to copy, distribute and transmit the work
Image

to Remix — to adapt the work


Under the following conditions:

Image
Attribution. You must attribute the work to me, as the original licencor, but not in any way that suggests that I endorse you or your use of the work.
Fair attribution includes a return link to http://tikiforsmarties.com (for online use) and mention of primary author (Rick Sapir) and original publisher (KeyContent.org).
Image

Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license.


Please read http://creativecommons.org/licenses/by-sa/3.0/legalcode for the full license.

Tiki®, TikiWiki® and the Tiki logo are registered trademarks of the Tiki Software Community Association, used with permission.