Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter jivelazquez

    (@josivela)

    I did not create a block inside another. What I did was the following.

    I inserted the reusable block into a page, converted it to a normal block, changed it, and created another reusable block.

    This shouldn’t cause a problem if each block you insert into another block prefixes it with the id of the parent block and adds the id of the child and so on. I don’t know if this can be possible, but as it is now it is ineffective and uncomfortable and above all if it gives you problems you don’t know what it is because it doesn’t notify you that something is being done wrong or inappropriately.

    Thread Starter jivelazquez

    (@josivela)

    That was the mistake.

    I made the second reusable block (the one that gives problems) from the one with the same ID and that’s why they have the same ID.

    It keeps giving errors, if I copy or duplicate all or any part, be it a complete reusable block or a part of it. I can’t be sure what the error is, so there’s no other choice but to create them new from scratch, since I think there’s no way to change the id.

    Every time a block is duplicated (in any case or with any plugin) its ID should change, since the ID is for that, to identify an element as unique and if you are putting the same ID when duplicating you are not complying with this .

    In summary for any other that happens to him. If you want to be sure that you won’t have a problem inserting a reusable block, so far, you have to start creating each block from scratch. I have tried to duplicate, copy and paste a block (Example of a headline, an outline, etc) that gave me problems and if I use it it continues to give problems. I don’t know if this is because of how Generate Blocks works or if it’s a Gutenberg problem.

    It’s not the best solution as it removes a lot of functionality but at least it allows you to work.

    Thanks for your help, @yingscarlett

    Thread Starter jivelazquez

    (@josivela)

    Gracias por a?adir los cambios sugeridos, gran trabajo

    Thread Starter jivelazquez

    (@josivela)

    Hi @yingscarlett,

    This is the link to the page showing the Reusable Block looking correctly.

    The block I am referring to is this:

    Image 1 – Correct

    On this link you can see the reusable block that is not displayed correctly.

    It’s almost at the bottom of the page and it’s this:

    Image 2 – Not correct

    Thread Starter jivelazquez

    (@josivela)

    Estupendo, Jesús ya vuelve a funcionar todo.

    Gracias por a?adir los campos de latitud y longitud en Multimaker.

    Hay dos peque?os detalles que me parecen mejorarían la experiencia:

    – El primero es que al a?adir un punto desde la caja de búsqueda aparece en el mapa, pero no se activa el botón. Obliga a poner algo en el campo Content (un espacio en blanco al menos). Si no tienes pensado poner nada, para que no aparezca la caja, no es intuitivo qué hacer.

    Si pones un espacio en el campo Content aparecerá la caja vacía, que no aporta nada. Si a?ades el nombre del punto se vuelve redundante, si ya aparece en el mapa. Debería activarse al a?adir o mover el punto.

    Y otra cosa es que antes aparecía en las opciones del bloque el nombre del punto que encuentra la búsqueda y no el contenido del campo Content. Esto es poco intuitivo, si usas html o no pones en el contente el nombre. No queda claro a qué punto se refiere y te obliga a buscar uno por uno.

    Lo suyo que apareciera el nombre del punto como antes o mejor aún que al encontrar un punto se almacenara en un campo editable el nombre que encuentra el buscador y permitiera cambiarlo por lo que quieras poner para que se clasifiquen.

    Y ya sería genial si el orden en que se muestran esos punto no fuera en el que se crean sino alfabéticamente. Eso permitiría ordenarlos como te interese, solo a?adiéndole delante un número de orden.

    Gracias, por tu tiempo y tu maravilloso trabajo.

Viewing 5 replies - 1 through 5 (of 5 total)