Loading...
 
Features / Usability

Features / Usability


Option of the displayed output of a tracker field type relations

posts: 8516 Israel

In Tiki22 in a customSearch and using a tracker field Relations from a tracker I have a list of links to other items for each item row.

When I click on a link it load the page of the item and I’m out of the customSearch.
I want to stay in the customSearch page and be able to view the item values (or better part of it).

Is there a way to have, instead of a link to the item, the link opening a modal over the page or displaying the item (or part of it) in a popup ?

Thanks

posts: 126825 United Kingdom
Bernard Sfez / Tiki Specialist wrote:
Is there a way to have, instead of a link to the item, the link opening a modal over the page or displaying the item (or part of it) in a popup ?


Yes, i think putting the links inside a DIV with class="click-modal" should do the trick, maybe?

posts: 8516 Israel
Jonny Bradley wrote:
Yes, i think putting the links inside a DIV with class="click-modal" should do the trick, maybe?


Mmm nice idea (I wonder if I didn’t tested 6 month ago) but there is a mask above the modal content (it’s a big modal) and over all this look weird. I think this is because the customSearch start to run the loading wheel/mask as the modal open but it stays stuck with it.

Screen Shot 2021 04 06 At 10.43.19

This is how the link look "https://local:8890/blabla/item4378-itemtitle"
I imagine I could add "another" list plugin to do exactly as I want, but this is already a customSearch using a template with 4 different trackers (cascading) and it start to be heavy (slow).

Is there a way to tweak the relation field type output ? (where this is ?)