Categories > TinyButStrong general >

Error in block's definition [onshow...]: at least one tag corresponding to td is not found. Check o...

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Brenni
Date: 2015-11-11
Time: 17:48

Error in block's definition [onshow...]: at least one tag corresponding to td is not found. Check opening tags, closing tags and embedding levels.

Hello, I have a problem when I want to show you some of my code blocks, depending on your user role change allowed options.

The error displayed is:
  in block's definition [onshow ...]: At least one Corresponding to td tag is not found. Check opening tags, closing tags and embedding levels.


<table  id="examples"  class="display">
                            <thead>
                                <tr>
                                    <th>Id</th>
                                    <th>Nombre Documento</th>
                                    <th>Nombre y Apellido Destinatario</th>
                                    <th>Estatus</th>
                                    <th>Opciones</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr class="rollover">
                                    <td >[blk1A.id_documento;block=tr]</td>
                                    <td>[blk1A.nombre_documento]</td>
                                    <td>[blk1A.text_concat]</td>
                                    <td>[blk1A.estatus]</td>
                                    <td nowrap>
                                        <a href="[onshow..script_name]?mod=Documento&ope=editar&id=[blk1A.id_documento]">
                                            <img src='../assets/img/edit.png' title='Editar'  height="13" width="13"/></a>
                                        <a href="[onshow..script_name]?mod=Documento&ope=detalle&id=[blk1A.id_documento]&ope2=listarA">
                                            <img src='../assets/img/search.png' title='Ver detalle'  height="13" width="13"/></a>
                                        <a data-id="[blk1A.id_documento]" data-mod2="DocumentoTable" data-mod="Documento" data-ope="listarA" class="confirmar_borrado" title='Eliminar'  id="eliminar">
                                            <img  src='../assets/img/delete.png'   height="13" width="13"/></a>
                                        <a href="[onshow..script_name]?mod=Documento&ope=estatus&id=[blk1A.id_documento]" title='Rechazar'>
                                            <img  src='../assets/img/revision.png'   height="16" width="16"/></a>
                                        <a onclick="javascript:abrir_ventana('[onshow.rutaabs][blk1A.ruta_archivo][blk1A.nombre_documento]');">
                                            <img src='../assets/img/pdf_file.png' title='Descargar'  height="13" width="13"/></a>
                                    </td>[onshow;block=td;when [var.session]='Administrador']
                                                   <td nowrap>
                                        <a href="[onshow..script_name]?mod=Documento&ope=detalle&id=[blk1A.id_documento]&ope2=listarA">
                                            <img src='../assets/img/search.png' title='Ver detalle'  height="13" width="13"/></a>
                                        <a data-id="[blk1A.id_documento]" data-mod2="DocumentoTable" data-mod="Documento" data-ope="listarA" class="confirmar_borrado" title='Eliminar'  id="eliminar">
                                            <img  src='../assets/img/delete.png'   height="13" width="13"/></a>
                                        <a onclick="javascript:abrir_ventana('[onshow.rutaabs][blk1A.ruta_archivo][blk1A.nombre_documento]');">
                                            <img src='../assets/img/pdf_file.png' title='Descargar'  height="13" width="13"/></a>
                                    </td>[onshow;block=td;when [var.session]='Generador']
                                    <td nowrap>
                                        <a href="[onshow..script_name]?mod=Documento&ope=detalle&id=[blk1A.id_documento]&ope2=listarA">
                                            <img src='../assets/img/search.png' title='Ver detalle'  height="13" width="13"/></a>
                                        <a href="[onshow..script_name]?mod=Documento&ope=estatus&id=[blk1A.id_documento]" title='Rechazar'>
                                            <img  src='../assets/img/revision.png'   height="16" width="16"/></a>
                                        <a onclick="javascript:abrir_ventana('[onshow.rutaabs][blk1A.ruta_archivo][blk1A.nombre_documento]');">
                                            <img src='../assets/img/pdf_file.png' title='Descargar'  height="13" width="13"/></a>
                                    </td>[onshow;block=td;when [var.session]='Firmante']
                                    <td nowrap>
                                        <a href="[onshow..script_name]?mod=Documento&ope=detalle&id=[blk1A.id_documento]&ope2=listarA">
                                            <img src='../assets/img/search.png' title='Ver detalle'  height="13" width="13"/></a>
                                        <a onclick="javascript:abrir_ventana('[onshow.rutaabs][blk1A.ruta_archivo][blk1A.nombre_documento]');">
                                            <img src='../assets/img/pdf_file.png' title='Descargar'  height="13" width="13"/></a>
                                    </td>[onshow;block=td;when [var.session]='Destinatario']
                            </tbody>
                        </table>
By: Skrol29
Date: 2015-11-11
Time: 22:49

Re: Error in block's definition [onshow...]: at least one tag corresponding to td is not found. Check opening tags, closing tags and embedding levels.

Hi,

All your [onshow;block=td;...] tags must be inside a <td></td> element. They are outside.
By: Brenni
Date: 2015-11-12
Time: 17:08

Re: Error in block's definition [onshow...]: at least one tag corresponding to td is not found. Check opening tags, closing tags and embedding levels.

Perfect , so it works great.

Thanks.