Loading...
 
Skip to main content

CustomSearch, popover: The tracker popover is not working on the wikiplugin CustomSearch (work on List)

Status
Closed
Subject
CustomSearch, popover: The tracker popover is not working on the wikiplugin CustomSearch (work on List)
Version
25.x
Category
  • Bug
Feature
Trackers
Wiki Plugin (extends basic syntax)
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

Using the Tracker properties I can define several fields that will be displayed in a popover when hovering over the title of a trackeritem.

This work also when using the plugin List, setting the ouput table column parameter to raw
Copy to clipboard
mode="raw"
and adding to the format of the field
Copy to clipboard
format="trackerrender"
.


With the same settings when using a wiki plugin customSearch that doesn't work.
The code is there but hovering over the title doesn't display the popup.

See the video screenshot

See the instance.

Solution

For this to work, you need to set the wikiplugin parameter customsearchjs to 1 (enable).
This will load a javascript (jquery?) file "lib/jquery_tiki/customsearch.js".

This is a Custom search js helper function, mainly keeps the search state on the URL hash, but also adds some helper functions like easier sorting and page size. (and the tracker title popover).
For this to work you need to have only ONE customSearch plugin on the page with the default ID for the customSearch: id="customsearch_0" or not set (default will be customsearch_0)

Deocumentation is here : https://doc.tiki.org/PluginCustomSearch

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8510
Created
Wednesday 23 August, 2023 13:13:55 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Thursday 24 August, 2023 05:46:03 UTC


Show PHP error messages