cacacolass   14 Feb, 2012, 7:44 am
#1

Hola compañeros, resulta que junté el thead y tcat editando el código de la plantilla forumbit_depht1_cat
Así está:
<style="border-right: 0; border-left: 0;"/>

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
</td>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$forum['name']}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads} / {$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />

La primer línea, es para quitar los bordes verticales, pero no hay caso, no los puedo quitar.
Otra de las cosas que quería preguntarles, es hacer lo que está marcado en la imágen.
La barra no me queda toda en 1, se divide en cáda título.

Muchas gracias, saludos a todos
Última modificación: 14 Feb, 2012, 7:45 am por Rafaelmenda.
Ryuuseiken   14 Feb, 2012, 8:35 am
#2
Esas "líneas verticales" es el cellspacing de la tabla, se puede quitar poniéndole valor de 0, pero al hacer eso también se quitarían los bordes.

El link, es por esto:

Debería ser así:

<a href="{$forum_url}">{$forum['name']}</a>

De esta forma solo sale el nombre:

{$forum['name']}

Te lo dejo remplazado:

<style="border-right: 0; border-left: 0;"/>

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
</td>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong><a href="{$forum_url}">{$forum['name']}</a></strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads} / {$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br /> 

Si quieres sin las líneas verticales ni bordes remplaza esta parte:

Cita:<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">

Por esto:

Cita:<table border="0" cellspacing="0" cellpadding="{$theme['tablespace']}" class="tborder">

Quedando así:

<style="border-right: 0; border-left: 0;"/>

<table border="0" cellspacing="0" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
</td>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong><a href="{$forum_url}">{$forum['name']}</a></strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads} / {$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br /> 
cacacolass   14 Feb, 2012, 10:25 am
#3
Lo he probado y quedó de maravillas!
Te agradezco la ayuda, muchísimas gracias!
Ryuuseiken   14 Feb, 2012, 3:33 pm
#4
De nada, Tema Resuelto.
  
Powered By MyBB, © 2002-2025 MyBB Group.
Made with by Curves UI.