2.017 -> style: chunkstyle will lasttopicinforum einbauen
Verfasst: 18.10.2005 16:12
ich hab nen prob beim einbauen vom lasttopicinforum mod von AWSW glaub ich...
natürlich muss wie bei fast jedem mod die vieforum_body.tpl bearbeitet werden, beim subsilver hat das natrülich auch alles geklappt, aber beim chunkstyle funzt es nicht
hier ist die anleitung für susbilver...
Öffne
Finde
davor hinzufügen
das hat wie geagt geklappt doch ich find es nich im chunkstyle bzw find och keine ähnlichkeiten mit dem code beim subislver, hier die viewforum_body.tpl vom chunkstyle...
also wenn mir jemand sagen könnte was ich vor welchem code hinzufügen müsste, wär ich sehr sehr dankabr
mfG JS
natürlich muss wie bei fast jedem mod die vieforum_body.tpl bearbeitet werden, beim subsilver hat das natrülich auch alles geklappt, aber beim chunkstyle funzt es nicht
hier ist die anleitung für susbilver...
Öffne
Code: Alles auswählen
templates/subSilver/viewforum_body.tplFinde
Code: Alles auswählen
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">Code: Alles auswählen
<!-- BEGIN fetchpost_row -->
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr>
<td class="catHead" height="25" width="100%"><span class="genmed"><b>{L_LAST_POST_TEXT}:</b> {fetchpost_row.TITLE}</span></td>
</tr>
<tr>
<td class="row2" align="left" height="24"><span class="gensmall">{L_POSTED}: <b>{fetchpost_row.POSTER}</b> @ {fetchpost_row.TIME}</span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall" style="line-height:150%">{fetchpost_row.TEXT}<br /><br />{fetchpost_row.OPEN}<a href="{fetchpost_row.U_READ_FULL}">{fetchpost_row.L_READ_FULL}</a>{fetchpost_row.CLOSE}</span></td>
</tr>
<tr>
<td class="row3" align="left" height="24"><span class="gensmall">{L_COMMENTS}: {fetchpost_row.REPLIES} :: <a href="{fetchpost_row.U_VIEW_COMMENTS}">{L_VIEW_COMMENTS}</a> (<a href="{fetchpost_row.U_POST_COMMENT}">{L_POST_COMMENT}</a>)</span></td>
</tr>
</table><br>
<!-- END fetch_post_row -->
Code: Alles auswählen
<table class="forumborder" width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td colspan="2" class="title2" style="border-top:0px;" width="100%">
Go to </td>
</tr>
<tr>
<td class="colour1" align="left"><a class="nav" href="{U_INDEX}">{L_INDEX}</a> -> <a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></td>
</tr>
</table>
<br />
<form method="post" action="{S_POST_DAYS_ACTION}">
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td align="left" valign="bottom"><a class="bigtitletext" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br /><span class="smalltitletext"><b>{L_MODERATOR}: {MODERATORS}<br />{LOGGED_IN_USER_LIST}</b><br /><br /></span></td>
<td width="216" align="right" valign="bottom" nowrap="nowrap"><b>{PAGINATION}</b></td>
</tr>
<tr>
<td align="left" valign="middle" width="594"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
<td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
</tr>
</table>
<br />
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="forumborder">
<tr>
<th colspan="2" align="center" height="25" class="title1wbot" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" align="center" class="title1wbot" nowrap="nowrap"> {L_REPLIES} </th>
<th width="100" align="center" class="title1wbot" nowrap="nowrap"> {L_AUTHOR} </th>
<th width="50" align="center" class="title1wbot" nowrap="nowrap"> {L_VIEWS} </th>
<th align="center" class="title1wbot" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN topicrow -->
<tr>
<td class="colour1" 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="colour1" 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="colour2" align="center" valign="middle" style="border-left:1px solid #656B78">{topicrow.REPLIES}</td>
<td class="colour2" align="center" valign="middle">{topicrow.TOPIC_AUTHOR}</td>
<td class="colour2" align="center" valign="middle">{topicrow.VIEWS}</td>
<td class="colour2" align="center" valign="middle" nowrap="nowrap">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</td>
</tr>
<!-- END topicrow -->
<!-- BEGIN switch_no_topics -->
<tr>
<td class="colour1" colspan="6" height="30" align="center" valign="middle">{L_NO_TOPICS}</td>
</tr>
<!-- END switch_no_topics -->
<tr>
<td class="titlebottomwtop" align="center" valign="middle" colspan="6">{L_DISPLAY_TOPICS}: {S_SELECT_TOPIC_DAYS}
<input type="submit" class="button" value="{L_GO}" name="submit" />
</td>
</tr>
</table>
<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%"> <a href="{U_INDEX}">{L_INDEX}</a> -> <a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></td>
<td align="right" valign="middle" nowrap="nowrap">{S_TIMEZONE}<br />{PAGINATION}
</td>
</tr>
<tr>
<td align="left" colspan="3">{PAGE_NUMBER}</td>
</tr>
</table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right">{JUMPBOX}</td>
</tr>
</table>
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
<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="19" height="18" /></td>
<td>{L_NEW_POSTS}</td>
<td> </td>
<td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="19" height="18" /></td>
<td>{L_NO_NEW_POSTS}</td>
<td> </td>
<td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
<td>{L_ANNOUNCEMENT}</td>
</tr>
<tr>
<td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="19" height="18" /></td>
<td>{L_NEW_POSTS_HOT}</td>
<td> </td>
<td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="19" height="18" /></td>
<td>{L_NO_NEW_POSTS_HOT}</td>
<td> </td>
<td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
<td>{L_STICKY}</td>
</tr>
<tr>
<td><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
<td>{L_NEW_POSTS_LOCKED}</td>
<td> </td>
<td><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
<td>{L_NO_NEW_POSTS_LOCKED}</td>
</tr>
</table></td>
<td align="right">{S_AUTH_LIST}</td>
</tr>
</table>
also wenn mir jemand sagen könnte was ich vor welchem code hinzufügen müsste, wär ich sehr sehr dankabr
mfG JS