Seite 1 von 1

Template änderung :/ - Anpassen (Aeolus) bsp Pic

Verfasst: 11.11.2003 21:38
von Bond
Ich möchte eine Änderung am Aeolus Template vornehmen

ich möchte dieses Rauslöschen (wo Forum,themen,beiträge,letzter beitrag steht)
habe schon gefunden das ich dazu dieses löschen muss

-------------löschen aus index_body.tpl

Code: Alles auswählen

<tr> 
	<th colspan="2" class="thCornerL" height="26" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
	<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
</tr>
ich dachte das ich hier bei den row 2 (2x vorhanden) das width="50" mit reinmache, aber das will er nicht so richtig, hat da jemand nen tip ?

Code: Alles auswählen

<!-- BEGIN forumrow -->
<tr> 
	<td class="row4" align="center" valign="middle" width="30" height="30"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="20" height="18" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
	<td class="row1" width="100%" onmouseover="this.style.backgroundColor='#D6DEE4';" onmouseout="this.style.backgroundColor='#DCE3E9';" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
	  </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
	  </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
	<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
	<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
	<td class="row3" align="center" valign="middle" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
So siehts richtig aus:
http://www.tronicnetwork.de/normal.jpg

Wenn gelöscht siehts so aus :/ (width 50 rienstellen bringt nix, no effect)
Die anzeige der spalte mit den topics und themen soll wie vorher aussehen :/

http://www.tronicnetwork.de/geaendert.jpg

hat jemand ne hinweis wie ich das wieder bewerkstelligen kann?
thx
Bond

Verfasst: 12.11.2003 00:26
von Acid
hmm.. versuch´s ma mit einer Prozentangabe (z.B. 5%) anstatt einem festen Wert.

Verfasst: 12.11.2003 06:48
von Gast
habe es mal eben probiert indem ich anstatt width="50" width="5" oder 15% probiert wenn ich dies in die 2 zeilen einfüge
aber das bringt auch null erfolg
die spalten beleiben trotzdem wieder so eng :/ aendert sich kein bissel

Verfasst: 12.11.2003 10:06
von Leuchte
kannst du mal auf die index_body.tpl verlinken?

Verfasst: 12.11.2003 19:36
von Gast
was genau wilslte da jetzt?
mal die komplette datei anschauen?
falsl du kompeltte datei anschauen meinst ich schick dir mal ne pm mit genauen link (sollte net hier drin stehen der direkt link zur datei)

Betref: Template Optimierung - index_body.tpl

Verfasst: 13.11.2003 07:00
von David007
hier mal der kompeltte code der template datei, damit auch andere die das kenenn vielleicht helfen können

Code: Alles auswählen

<!-- BEGIN switch_xs_enabled -->
<?php

// This code will be visible only if eXtreme Styles mod is installed.

// highlight private message info if there is a new message
global $userdata;
if(!empty($userdata['user_new_privmsg']) && !empty($this->vars['PRIVATE_MESSAGE_INFO']))
{
	$this->vars['PRIVATE_MESSAGE_INFO'] = '<b>' . $this->vars['PRIVATE_MESSAGE_INFO'] . '</b>';
}

?>
<!-- END switch_xs_enabled -->

<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
  <tr> 
	<td align="left" valign="bottom"><span class="gensmall">
	<!-- BEGIN switch_user_logged_in -->
	<br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
	<!-- END switch_user_logged_in -->
	</span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
	<td align="right" valign="bottom" class="gensmall">
		<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br>
		<a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></td>
  </tr>
</table>
<!-- BEGIN catrow -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
	<td width="23" align="right" valign="bottom"><img src="{T_TEMPLATE_PATH}/images/top_left.gif" width="23" height="36" border="0" alt="" /></td>
	<td width="100%" align="left" valign="middle" background="{T_TEMPLATE_PATH}/images/top_center.gif"><table border="0" cellspacing="0" cellpadding="0"><tr><td><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="1" height="11" border="0" /></td></tr><tr><td align="left" valign="center"><span class="cattitle">&nbsp;<a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a>&nbsp;</span></td></tr></table></td>
	<td width="60" align="left" valign="bottom"><img src="{T_TEMPLATE_PATH}/images/top_right.gif" width="60" height="36" border="0" alt="" /></td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr> 
	<th colspan="2" class="thCornerL" height="26" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
	<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
</tr>
<!-- BEGIN forumrow -->
<tr> 
	<td class="row4" align="center" valign="middle" width="30" height="30"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="20" height="18" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
	<td class="row1" width="100%" onmouseover="this.style.backgroundColor='#D6DEE4';" onmouseout="this.style.backgroundColor='#DCE3E9';" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
	  </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
	  </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
	<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
	<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
	<td class="row3" align="center" valign="middle" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
	<td width="10" align="right" valign="top"><img src="{T_TEMPLATE_PATH}/images/bottom_left.gif" width="10" height="10" border="0" alt="" /></td>
	<td width="100%" background="{T_TEMPLATE_PATH}/images/bottom_center.gif"><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
	<td width="10" align="left" valign="top"><img src="{T_TEMPLATE_PATH}/images/bottom_right.gif" width="10" height="10" border="0" alt="" /></td>
</tr>
</table>
<!-- END catrow -->


<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
	<td width="23" align="right" valign="bottom"><img src="{T_TEMPLATE_PATH}/images/top_left.gif" width="23" height="36" border="0" alt="" /></td>
	<td width="100%" align="left" valign="middle" background="{T_TEMPLATE_PATH}/images/top_center.gif"><table border="0" cellspacing="0" cellpadding="0"><tr><td><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="1" height="11" border="0" /></td></tr><tr><td align="left" valign="center"><span class="cattitle">&nbsp;<a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a>&nbsp;</span></td></tr></table></td>
	<td width="60" align="left" valign="bottom"><img src="{T_TEMPLATE_PATH}/images/top_right.gif" width="60" height="36" border="0" alt="" /></td>
</tr>
</table>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr> 
	<td class="row4" align="center" valign="middle" rowspan="2"><img src="{T_TEMPLATE_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
	<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
	</td>
</tr>
<tr> 
	<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}<br />{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
	<td width="10" align="right" valign="top"><img src="{T_TEMPLATE_PATH}/images/bottom_left.gif" width="10" height="10" border="0" alt="" /></td>
	<td width="100%" background="{T_TEMPLATE_PATH}/images/bottom_center.gif"><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
	<td width="10" align="left" valign="top"><img src="{T_TEMPLATE_PATH}/images/bottom_right.gif" width="10" height="10" border="0" alt="" /></td>
</tr>
</table>

<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
	<td width="23" align="right" valign="bottom"><img src="{T_TEMPLATE_PATH}/images/top_left.gif" width="23" height="36" border="0" alt="" /></td>
	<td width="100%" align="left" valign="middle" background="{T_TEMPLATE_PATH}/images/top_center.gif"><table border="0" cellspacing="0" cellpadding="0"><tr><td><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="1" height="11" border="0" /></td></tr><tr><td align="left" valign="center"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td></tr></table></td>
	<td width="60" align="left" valign="bottom"><img src="{T_TEMPLATE_PATH}/images/top_right.gif" width="60" height="36" border="0" alt="" /></td>
</tr>
</table>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr> 
	<td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}: 
		<input class="post" type="text" name="username" size="10" />
		&nbsp;&nbsp;&nbsp;{L_PASSWORD}: 
		<input class="post" type="password" name="password" size="10" />
		&nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN} 
		<input class="text" type="checkbox" name="autologin" checked="checked" />
		&nbsp;&nbsp;&nbsp; 
		<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
		</span> </td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
	<td width="10" align="right" valign="top"><img src="{T_TEMPLATE_PATH}/images/bottom_left.gif" width="10" height="10" border="0" alt="" /></td>
	<td width="100%" background="{T_TEMPLATE_PATH}/images/bottom_center.gif"><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
	<td width="10" align="left" valign="top"><img src="{T_TEMPLATE_PATH}/images/bottom_right.gif" width="10" height="10" border="0" alt="" /></td>
</tr>
</table>
</form>
<!-- END switch_user_logged_out -->

Verfasst: 13.11.2003 07:10
von Acid
aso.. die 100% der Foren-Spalte (Forenname und Link) müsstest du natürlich verringern.

Verfasst: 13.11.2003 16:35
von Bond
hm, ich komme ja nachher nachhause da werdsch dann gleich nochma nachschauen!
danke erstmal für den tip das habe ich uebersehen irgendwie

aber wieso ging das dann vorher? mit derzeile das die 2 spalten dann so breit waren, wenn die 100% hat? muss doch irgendwie bewerkstelligt werden können?

thx erstma für tip, probiere es aus wenn ich dann von arbeit heimgekommen bin

jetzt wäre noch nen tip zum anderen problem hilfreich :/
da hatte bisher noch keiner ne Idee oder hinweis wie genau das bewerkstelligt werden könnte :/
http://www.phpbb.de/viewtopic.php?t=40025

thx