Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Popup open hook
#1
I tested the wiki example for using a popup hook to filter the popup list of Assets based on a given Product's name. This is about the behavior of that popup list and the fact that it works, but if the result is split in more pages, when you go to the next page it reverts to the original 'all' list.
So in more detail, i can't be sure if I'm doing it entirely right and that procedure might be deprecated now with the business actions but:
-i did saved the js file
-i did execute the php that contains the addlink instruction
-i did insert in Products.php the condition(before the existing one in that function)
The hook did not work until i defined a business action stating what was in the addlink php. But then it worked, at least for the first page. It shows the correct number of results and the button for 'show all' but if you move to another page it loses the whole list and reverts to the default all list.
Reply


Messages In This Thread
Popup open hook - radu - 06-22-2020, 08:41 AM
RE: Popup open hook - omarllorens - 09-07-2020, 06:04 PM
RE: Popup open hook - radu - 01-08-2021, 07:43 AM
RE: Popup open hook - radu - 01-08-2021, 10:01 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)