Дължина на клетките.

Kahn_Fan

Registered
От къде мога да променя широчината на клетките ( Форум, Теми, Мнения, Последно мнение, Автор, Видяна, Отговори.... ) ?
 
Kahn_Fan каза:
От къде мога да променя широчината на клетките ( Форум, Теми, Мнения, Последно мнение, Автор, Видяна, Отговори.... ) ?

Всичките тези неща се правят от темплейта. Доколкото виждам явно искаш да намалиш широчината на целия форум ?
Ако е така ето урок как става номера:
http://web-tourist.net/login/login/view.php?st=1614
Ако ще го намаляш трябва да намалиш широчината на всички таблици от темплейта в .tpl файловете.

Поздрави
 
Мммм не искам да променя само широчината, на клетките защото Теми, Мнения, Автор ми излизат малки и искам да ги разширя малко. По точно от къде от темплейта?
 
мисля че е от viewforum_body.tpl
Би трябвало да е от този код
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr>
<th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" align="center" class="thTop" nowrap="nowrap"> {L_REPLIES} </th>
<th width="100" align="center" class="thTop" nowrap="nowrap"> {L_AUTHOR} </th>
<th width="50" align="center" class="thTop" nowrap="nowrap"> {L_VIEWS} </th>
<th align="center" class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>

<tr>
<td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
{topicrow.GOTO_PAGE}</span></td>
<td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
<td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
<td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
<td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
</tr>


<tr>
<td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
</tr>

<tr>
<td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}: {S_SELECT_TOPIC_DAYS} 
<input type="submit" class="liteoption" value="{L_GO}" name="submit" />
</span></td>
</tr>
</table>
Немога да ти кажа с точност ,но опитай да промениш таблиците. Ако се омаже нещо върни старите размери.

Поздрави
 
Във viewforum_body.tpl трябва да променяш това:

Код:
<tr> 
<th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap"> {L_TOPICS} </th> 
<th width="50" align="center" class="thTop" nowrap="nowrap"> {L_REPLIES} </th> 
<th width="100" align="center" class="thTop" nowrap="nowrap"> {L_AUTHOR} </th> 
<th width="50" align="center" class="thTop" nowrap="nowrap"> {L_VIEWS} </th> 
<th align="center" class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th> 
</tr>

Ако не можеш да добиеш представа пастни това в кода на Front Page (на пример) за да видиш какво става.
 

Back
Горе