1. NOTICE: If you are using Fabrik and update to Joomla 3.10, you will need to update to Fabrik 3.10. And, if you are using Fabrik, do not upgrade to Joomla 4, we do not have a supported version ready for release. More information on a release date coming soon. Also, please note that Fabrik 3.10 will not install on any Joomla sites less than 3.8.
    Dismiss Notice

List Php Plugin Not Working

Discussion in 'Community' started by teoyh, Sep 17, 2021.

  1. teoyh

    teoyh Member

    Level: Community
    I have a summary list like above, when user click on the refno link a popup will open like below

    When user click on the where i am pointing the arrow, the list php plugin cannot run

    But if it is open without pop up it work , can someone help me with this

    Thank you in advnace
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    Following your other thread this is done with a cusomized edit link? (which usually would open a form, not a list)
    Check for JS errors.
  3. teoyh

    teoyh Member

    Level: Community
    That is a customised link , which will open up a list instead of a form , also i did not run any JS only php script when i click on the php plugin.

    The only error i see from the developers tool console is the following statement '
    jquery.min.js?c9b431a382e8207ef83ce719ed6fe3b1:2 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
    send @ jquery.min.js?c9b431a382e8207ef83ce719ed6fe3b1:2
    ajax @ jquery.min.js?c9b431a382e8207ef83ce719ed6fe3b1:2
    d._evalUrl @ jquery.min.js?c9b431a382e8207ef83ce719ed6fe3b1:2
    He @ jquery.min.js?c9b431a382e8207ef83ce719ed6fe3b1:2
    append @ jquery.min.js?c9b431a382e8207ef83ce719ed6fe3b1:2
    (anonymous) @ window.js?bust=1631872556:3
    u @ jquery.min.js?c9b431a382e8207ef83ce719ed6fe3b1:2
    fireWith @ jquery.min.js?c9b431a382e8207ef83ce719ed6fe3b1:2
    C @ jquery.min.js?c9b431a382e8207ef83ce719ed6fe3b1:2
    n @ jquery.min.js?c9b431a382e8207ef83ce719ed6fe3b1:2
    XMLHttpRequest.send (async)
    send @ jquery.min.js?c9b431a382e8207ef83ce719ed6fe3b1:2
    ajax @ jquery.min.js?c9b431a382e8207ef83ce719ed6fe3b1:2
    loadContent @ window.js?bust=1631872556:3
    e.extend.$owner @ mootools-core.js?c9b431a382e8207ef83ce719ed6fe3b1:38
    makeWindow @ window.js?bust=1631872556:3
    e.extend.$owner @ mootools-core.js?c9b431a382e8207ef83ce719ed6fe3b1:38
    initialize @ window.js?bust=1631872556:3
    (anonymous) @ mootools-more.js?c9b431a382e8207ef83ce719ed6fe3b1:27
    e.extend.$owner @ mootools-core.js?c9b431a382e8207ef83ce719ed6fe3b1:38
    (anonymous) @ mootools-core.js?c9b431a382e8207ef83ce719ed6fe3b1:37
    f.getWindow @ window.js?bust=1631872556:3
    u.openSingleView @ fabrik.js?bust=1631872556:3
    u.watchEdit @ fabrik.js?bust=1631872556:3
    (anonymous) @ fabrik.js?bust=1631872556:3
    dispatch @ jquery.min.js?c9b431a382e8207ef83ce719ed6fe3b1:2
    v.handle @ jquery.min.js?c9b431a382e8207ef83ce719ed6fe3b1:2"
  4. teoyh

    teoyh Member

    Level: Community
    Gentle bump
  5. teoyh

    teoyh Member

    Level: Community
    In notice in popup modal window the FbListPhp = new Class is not initialize
  6. juuser

    juuser Well-Known Member

    Level: Community
    Really hard to tell. As lists are not natively meant to open in modal, there might be serious issues which prevent the list plugins from working normally in modals.
  7. teoyh

    teoyh Member

    Level: Community
    Looks like i am the first one to do this :( ..... any hope to get this working
  8. juuser

    juuser Well-Known Member

    Level: Community
    "Hope is the last things that dies" as it's said :)

    In some projects I have used Jack Moore's jQuery Colorbox for modals which is very powerful, but quite easy to use. With that you can have iframe modal windows which are basically the same as "normal" browser windows, so they shouldn't "interfere" with the "main" window. So in your case the php list plugin should work normally.

    Of course it has as a small learning curve, but they have a good documentation.

    If you need, you could also have list edit and details button opening forms/details in Colorbox modal with Fabrik layout overrides (see wiki).
  9. teoyh

    teoyh Member

    Level: Community
    Thank you for your reply , i eventually use a calc field to calculate the url and add the place holder to the custom link with this in place i will display a separate url clickable link for the user to respond to the list with the php plugin in a non popup manner

Share This Page