Loading...
 
Skip to main content

TikiWiki 2.0: Filtering Search Results

Status
Closed
Subject
TikiWiki 2.0: Filtering Search Results
Version
2.x
Category
  • Feature request
Feature
Search
Submitted by
nikhilodeon
Lastmod by
nikhilodeon
Rating
(0)
Description

Our site has a lot of child pages that are included by parent pages. When accessed individually, they make much less sense than if they are accessed as part of the parent page that includes them.

Is there a way to restrict the Search functionality of TikiWiki to only return pages that meet a certain criteria? Eg, pages that would be in the format tiki-index.php?page=Title/PageGroup

I have referred to the tiki-admin.php?page=search page but could not find anything that fit the bill.

Solution

nikhilodeon 9/19/2008 3:10 PM EST: workaround developed: add the following if statement in the section loop of /templates/tiki-searchresults.tpl; filters out results so that only those with _String_ in the pageName / Title field are displayed.
{if $resultssearch.pageName|strstr:"_String_"}/ {/if}

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2024
Created
Tuesday 09 September, 2008 17:02:58 UTC
by Unknown
LastModif
Friday 19 September, 2008 19:18:51 UTC


Show PHP error messages