Page 1 of 1
Oh, man, what did I do wrong?
Posted: 28. June 2009 18:16
by MrBaseball34
Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
What have you done before the problem was there?
What have you already tryed to solve the problem?
Description and Message
What did I do wrong to cause this?
Re: Oh, man, what did I do wrong?
Posted: 29. June 2009 07:23
by Mike
open your portal/block/news_compact.html and replace her content with the following:
Code: Select all
<!--version $Id: news_compact.html 479 2009-03-15 11:19:27Z kevin74 $ //-->
<div id="pagecontent">
<!-- BEGIN news_row -->
<!-- IF news_row.S_FIRST_ROW -->
{$C_BLOCK_H_L}{L_LATEST_NEWS} <a name="n"></a>{$C_BLOCK_H_R}
<table class="tablebg" cellspacing="1" width="100%">
<!-- IF not news_row.S_NO_TOPICS -->
<tr class="nav">
<!-- IF S_TOPIC_ICONS -->
<td class="cat" align="center" colspan="3"> {L_TOPICS} </td>
<!-- ELSE -->
<td class="cat" align="center" colspan="2"> {L_TOPICS} </td>
<!-- ENDIF -->
<!-- IF S_DISPLAY_NEWS_RVS -->
<td class="cat" align="center"> {L_REPLIES} </td>
<td class="cat" align="center"> {L_VIEWS} </td>
<!-- ENDIF -->
<td class="cat" align="center"> {L_LAST_POST} </td>
</tr>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF news_row.S_NO_TOPICS -->
<tr class="row1">
<td align="center">
<span class="gensmall"><strong>{L_NO_NEWS}</strong></span>
</td>
</tr>
<!-- ELSE -->
<tr>
<td class="row1" width="25" align="center">{news_row.TOPIC_FOLDER_IMG}</td>
<!-- IF S_TOPIC_ICONS --><td class="row1" width="25" align="center"><!-- IF news_row.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{news_row.TOPIC_ICON_IMG}" width="{news_row.TOPIC_ICON_IMG_WIDTH}" height="{news_row.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td><!-- ENDIF -->
<td class="row1">
<!-- IF news_row.PAGINATION --><span style="float: right; font-size:0.9em;"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {news_row.PAGINATION} ] </span><!-- ENDIF -->
{news_row.ATTACH_ICON_IMG} <!-- IF news_row.S_POLL --> <strong style="font-size:1.1em;">{L_POLL}: </strong><!-- ENDIF --><a title="{news_row.TITLE}" href="{news_row.U_VIEW_COMMENTS}" class="topictitle">{news_row.TITLE}</a>
<p class="gensmall">{L_POSTED} {L_POST_BY_AUTHOR} {news_row.POSTER_FULL} » {news_row.TIME}
<!-- IF news_row.FORUM_NAME -->
<br />{L_FORUM}: <a href="{news_row.U_VIEWFORUM}" style="font-weight: bold;">{news_row.FORUM_NAME}</a>
<!-- ENDIF -->
<!-- IF not S_DISPLAY_NEWS_RVS --><!-- IF news_row.FORUM_NAME -->• <!-- ENDIF -->{L_REPLIES}: <strong>{news_row.REPLIES}</strong> • {L_VIEWS}: <strong>{news_row.TOPIC_VIEWS}</strong><!-- ENDIF -->
</p>
</td>
<!-- IF S_DISPLAY_NEWS_RVS -->
<td class="row1" width="50" align="center"><p class="topicdetails">{news_row.REPLIES}</p></td>
<td class="row2" width="50" align="center"><p class="topicdetails">{news_row.TOPIC_VIEWS}</p></td>
<!-- ENDIF -->
<td class="row1" width="140" align="center">
<p class="topicdetails" style="white-space: nowrap;"> {news_row.LAST_POST_TIME}</p>
<p class="topicdetails">{news_row.USERNAME_FULL_LAST}
<!-- IF not S_IS_BOT --><!-- IF news_row.S_UNREAD_INFO --><a href="{news_row.U_VIEW_UNREAD}">{NEWEST_POST_IMG}</a><!-- ELSE --><a href="{news_row.U_LAST_COMMENTS}">{READ_POST_IMG}</a><!-- ENDIF --><!-- ENDIF -->
</p>
</td>
</tr>
<!-- ENDIF -->
<!-- IF news_row.S_LAST_ROW -->
<!-- IF NP_PAGINATION or TOTAL_NEWS -->
<tr class="row<!-- IF news_row.S_ROW_COUNT is even -->2<!-- ELSE -->1<!-- ENDIF -->">
<td class="gensmall" valign="middle" align="right" nowrap="nowrap" colspan="<!-- IF S_TOPIC_ICONS and S_DISPLAY_NEWS_RVS -->6<!-- ELSEIF not S_TOPIC_ICONS and S_DISPLAY_NEWS_RVS -->5<!-- ELSEIF S_TOPIC_ICONS and not S_DISPLAY_NEWS_RVS -->4<!-- ELSE -->3<!-- ENDIF -->">{TOTAL_NEWS}
<!-- IF NP_PAGE_NUMBER --><!-- IF NP_PAGINATION --> • {NP_PAGE_NUMBER} • <span>{NP_PAGINATION}</span><!-- ELSE --> • {NP_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --></td>
</tr>
<!-- ENDIF -->
</table>
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
<!-- ENDIF -->
<!-- END news_row -->
</div>