Seite 1 von 1

News Mod einbauprobleme bei Viewforum_body.tpl

Verfasst: 23.08.2005 18:17
von Tommy_65428
Salve

Laut der installationsanleitung ist in der viewform_body.tpl dieses hier zu ändern:

Code: Alles auswählen

#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewforum_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 26.
<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 />

#
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 26.

{topicrow.TOPIC_TYPE}

#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
{topicrow.L_NEWS}

#
Aber das geht nich :/

Meine Viewforum_body.tpl sieht so aus:

Code: Alles auswählen

<!-- mod : split topic type -->
<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
	<tr> 
	  <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
	  <td align="right" valign="bottom" nowrap><span class="gensmall"><b>{PAGINATION}</b></span></td>
	</tr>
	<tr> 
	  <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
	  <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
	  <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a class="gensmall" href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
	</tr>
  </table>

 {TOPICS_LIST_BOX}

  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
	<tr> 
	  <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
	  <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
	  <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span> 
		</td>
	</tr>
	<tr>
	  <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
	</tr>
  </table>
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
	<td align="right">{JUMPBOX}</td>
  </tr>
</table>

<table cellspacing="0" border="0" align="left" cellpadding="1" bgcolor="#000000">
	<tr>
		<td>
		<table border="0" align="center" background="templates/Chronicles/images/gen_background.jpg" bgcolor="#BA9F70">
			<tr>
				<td align="left" valign="top">
					<table cellspacing="3" cellpadding="0" border="0">
						<tr>
							<td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="35" height="19" /></td>
							<td class="gentblsmall">{L_NEW_POSTS}</td>
							<td>&nbsp;&nbsp;</td>
							<td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="35" height="19" /></td>
							<td class="gentblsmall">{L_NO_NEW_POSTS}</td>
							<td>&nbsp;&nbsp;</td>
							<!-- Start replacement - Global announcement MOD -->
<td width="20" align="center"><img src="http://www.death-harmony.com/forum2/templates/Chronicles/Images/folder_global_announce.gif" alt="{L_GLOBAL_ANNOUNCEMENT}" width="35" height="19" /></td>
<td class="gentblsmall">{L_GLOBAL_ANNOUNCEMENT}</td>
<!-- End replacement - Global announcement MOD -->
						</tr>
						<tr> 
							<td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="35" height="19" /></td>
							<td class="gentblsmall">{L_NEW_POSTS_HOT}</td>
							<td>&nbsp;&nbsp;</td>
							<td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="35" height="19" /></td>
							<td class="gentblsmall">{L_NO_NEW_POSTS_HOT}</td>
							<td>&nbsp;&nbsp;</td>
							<!-- Start replacement - Global announcement MOD -->
<td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="35" height="19" /></td>
<td class="gentblsmall">{L_ANNOUNCEMENT}</td>
<!-- End replacement - Global announcement MOD -->
						</tr>
						<tr>
							<td class="gentblsmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_TOPIC_LOCKED}" width="35" height="19" /></td>
							<td class="gentblsmall">{L_NEW_POSTS_LOCKED}</td>
							<td>&nbsp;&nbsp;</td>
							<td class="gentblsmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_TOPIC_LOCKED}" width="35" height="19" /></td>
							<td class="gentblsmall">{L_NO_NEW_POSTS_LOCKED}</td>

<!-- Start add - Global announcement MOD -->
<td>&nbsp;&nbsp;</td>
<td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="35" height="19" /></td>
<td class="gentblsmall">{L_STICKY}</td>
<!-- End add - Global announcement MOD -->

						</tr>
					</table>
				</td>
				<td align="right">
					<span class="gentblsmall">{S_AUTH_LIST}</span>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>
Kann mir jemand helfen und sagen wo ich die Passage:

Code: Alles auswählen

{topicrow.L_NEWS}
einsetzen muss ?


Danke schonmal im vorraus :/

Verfasst: 23.08.2005 18:57
von SilverDragon
deine viewforum_body sieht sehr modifiziert aus. wäre hilfreich, wenn du angeben würdest welches style du verwendest und welche anderen Mods du installed hast

EDIT: Ich habe in deinem script gesehen, daß du den split topic mod nutzt.

versuch doch mal folgendes:


Code: Alles auswählen

#-----[ OPEN ]------------------------------------------ 
# 
templates/***/topics_list_box.tpl

# 
#-----[ FIND ]--------------------------------------------- 
# around line 60. 
<td class="{topics_list_box.row.ROW_CLASS}" width="100%">
		<span class="topictitle">{topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.TOPIC_TYPE}<a href="{topics_list_box.row.U_VIEW_TOPIC}" class="topictitle">{topics_list_box.row.TOPIC_TITLE}</a></span><span class="gensmall">&nbsp;&nbsp;{topics_list_box.row.TOPIC_ANNOUNCES_DATES}{topics_list_box.row.TOPIC_CALENDAR_DATES}</span>
		

# 
#-----[ IN-LINE FIND ]--------------------------------------------- 
# around line 61. 

{topics_list_box.row.TOPIC_TYPE}
# 
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------ 
# 
{topicrow.L_NEWS} 

#
da ich den split topic noch nicht so genau kenne versuche dies nur nachdem du eine sicherung der alten dateien gemacht hast.