Regular search

The search box can be displayed by a shortcode, and in a widget.
In both versions you can specify:

  • A landing page. This is the page where the search results are displayed upon. The landingpage must contain a wppa shortcode e.g.: [wppa type="landing"][/wppa]. It does not need to by type="landing"; if it is an other type, the display of that shortcode will be overwritten by the search results; quite like a slideshow overwrites a thumbnail display when you click on the thumbnail and the link on the thumbnail is set to the fullsize image in a slideshow with the linkpage set to --- The same post or page --- (See Table VI-B2).
  • Rootsearch enabled. This means that a visitor can browse through a tree of albums before starting a search operation. When he ticks the searchroot checkbox, the search will be done from the current album (inclusive) downward. If a root album is specified, this will always be the starting point (root) of the search; like on this page: the Members album.
  • Subsearch enabled. This means that - if the checkbox is ticked - the next search is omong the current results only.

On this doc page, I did the following trick: The first shortcode is a landing page shortcode, the second is the search box shortcode with the landing page set to this page. The effect hereof is, that after the selection is made, one comes back to the same page, and the search box is still on the page (below the display of the search results).

The shortcodes on this page are:
[wppa type="landing"][/wppa]
[wppa type="search" landing="4564" sub="1" root="#66"][/wppa]

Example: First search for Kimmy, then search for Pasja, then search for Kimmy again with the checkbox ticked, you will find only the photos that meet Kimmy as well as Pasja. The same result you get by entering Pasja Kimmy or Pasja;Kimmy. If you want all the result with Kimmy or Pasja, enter Pasja,Kimmy

  • Although this page shows both a searchwidget and a searchbox, it is not recommended to have more than wppa search input fields on any page, especially not when rootsearch is enabled or a fixed searchroot is selected. This may mix-up the saved session information about the search root to be used.
  • You can exclude photos from the search results when they are in separate albums or in any of their subalbums by ticking the box in Table IX-E2
  • You can include words from comments to the photos by ticking the box in Table IX-E5
  • The content of the custom datafields will be found by the search engine only if the items are used in the photo description
  • The index table is maintained fully at real-time, e.g.: changing description of photo immediately updates the index. In rare cases, if you have the feeling that something is not correct in the index table, simply run Table VIII-A8 and/or Table VIII-A9