• Resolved auditt

    (@auditt)


    Hi there,

    I’m using the recent version of uipress and discovered two issues:

    1. Go to Media > Library, click on upload button in the right top corner and uploade an image. Issue: There is no feedback from uipress that the upload process has started or is finished. I have to reload the site to see the new images.
    2. The issue arises from the dynamic loading of admin pages by UIpress. I have custom functions for the backend that are designed to open popups when specific admin pages, such as the ‘Pages’ overview (edit.php?post_type=page), are accessed. However, these scripts are not being executed as expected since the pages are loaded dynamically without a full page reload. So, the function is not triggered again anymore. I want to keep dynamic loading enabled because it provides a much faster performance. Example of a function:

    function custom_function() { //if (page=x) open popup}
    add_action('admin_footer', 'custom_function');

    Do you have any idea how to deal with it without disabling the dynamic loading?

    Thank you.

    • This topic was modified 1 year, 4 months ago by auditt.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter auditt

    (@auditt)

    Hi there – me again,

    regarding 2, maybe a php hook can help that triggers when everytime you change the admin page? But maybe you have a much better idea.

    Thanks

    Thread Starter auditt

    (@auditt)

    After investigation, uipress is indeed triggering functions. But I had issues with my own coding.

    This thread is solved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue: Uploading images & triggering functions’ is closed to new replies.