Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

218
Vistas
How to prevent Windows Explorer opening when opening an image dialog with TinyMce?

I need to get an URL into the file_picker_callback function, so that the image dialog opens my php form instead of the basic image dialog

The problem is that it opens my Windows Explorer over the image dialog. I can close it and then I can see my own form but how to avoid the Explorer opening ?

The second problem (solved - see below) is that I need to add an id at the end of my URL. So I need to get it through a variable linked to the original form (the one where I want to integrate the image).

Finally, I solved the second problem of the id this way :

file_picker_callback: function (cb, value, meta) {
   var post_id = document.getElementById('inputid').getAttribute('value');
   var myUrl = "http://localhost/www/Tuto/pilote/medias/index/" + post_id;
   tinymce.activeEditor.windowManager.openUrl({    
        title: 'Gallerie',
        url: myUrl,
        width: 500,
        height: 400,
        resizable: 'yes',
        inline: 'no',
        close_previous: 'no'
   });

[...]

I still need help to prevent the Windows Explorer to open before my image dialog.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda