← SMF

[Ajuda] Edição de Profile.template.php

Lida 2721 vezes

Offline

Carlos Faria 
Membro
Mensagens 551 Gostos 5
Feedback +2

Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

Boa tarde a todos,


Venho aqui pedir uma pequena ajuda na edição do ficheiro /Themes/default/Profile.template.php





O que queria fazer era colocar a layer 2 idêntica a layer 1.

Alguém pode me ajudar a realizar esta tarefa?


Profile.template.php --> https://gist.github.com/362143

NOTA: Pesquisem lá no ficheiro por "Layer2" e é ai que começa a 2 layer..



Desde já muito obrigado.
Offline

Pedro Lopes 
Beta tester
Mensagens 3568 Gostos 18
Feedback +6

Troféus totais: 32
Trófeus: (Ver todos)
Level 6 Windows User Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3

Linha 1283 muda para <td width="100%" height="26">
Offline

Carlos Faria 
Membro
Mensagens 551 Gostos 5
Feedback +2

Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

Linha 1283 muda para <td width="100%" height="26">

Não funcionou.. :(

Ficou assim:

Offline

Ricardo75 
Membro
Mensagens 1660 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Tens a tabela mal feita

tens por exemplo isto: </tr><td></td><tr>
Offline

Carlos Faria 
Membro
Mensagens 551 Gostos 5
Feedback +2

Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

Tens a tabela mal feita

tens por exemplo isto: </tr><td></td><tr>

:S

Corrigi e deu erro.. enfim..

Já tenho uma ideia para dar a volta a isso.


Obrigado. 
Offline

Ricardo75 
Membro
Mensagens 1660 Gostos 0
Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

:S

Corrigi e deu erro.. enfim..

Já tenho uma ideia para dar a volta a isso.


Obrigado. 

Não é preciso ideia nenhuma, basta corrigir a tabela.

Código: [Seleccione]
<table border="1" cellspacing="1" cellpadding="4" align="center" class="bordercolor">
  <tr class="titlebg">
    <td colspan="2">
      &nbsp;<img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" align="top" />&nbsp;XXXXXXXXXXX
    </td>
  </tr>
  <tr>
    <td colspan="2">
      <hr width="100%" size="1" class="hrcolor" />
    </td>
  </tr>
  <tr>
    <td>
      <b>Altera&ccedil;&atilde;o de dados externos:</b><div class="smalltext">TESTE</div>
    </td>
    <td>
      <input type="submit" value="xxxxxxxxxxxx" />
    </td>
  </tr>
</table>