Anzeigeproblem: Einbinden von NV Newspage in xand Style
Verfasst: 15.05.2012 22:14
Hallo, ich habe ein kleines Problem mit dem einbinden von NV Newspage in den von mir verwendeten Style xand.
Es funktioniert alles soweit ganz gut jedoch gibt es da ein kosmetisches Problem:
Im Gegensatz zu den anderen Seiten besitzt die Newspage im Body keinen weissen Hintergrund, Header und Footer jedoch schon.
Aber schaut es euch doch selbst mal an:
So wünsche ich es mir auch auf der Newspage
So sieht die Newspage aus
Welche Änderungen müsste ich vornehmen damit der weisse Hintergrund auch auf der Newspage angezeigt wird?
Da ich totaler Neuling auf dem Gebiet bin, komme ich ohne Hilfe leider nicht weiter.
Links:
NV Newspage
xandgrey
Newspage_body.html:
Es funktioniert alles soweit ganz gut jedoch gibt es da ein kosmetisches Problem:
Im Gegensatz zu den anderen Seiten besitzt die Newspage im Body keinen weissen Hintergrund, Header und Footer jedoch schon.
Aber schaut es euch doch selbst mal an:
So wünsche ich es mir auch auf der Newspage
So sieht die Newspage aus
Welche Änderungen müsste ich vornehmen damit der weisse Hintergrund auch auf der Newspage angezeigt wird?
Da ich totaler Neuling auf dem Gebiet bin, komme ich ohne Hilfe leider nicht weiter.
Links:
NV Newspage
xandgrey
Newspage_body.html:
Code: Alles auswählen
<!-- INCLUDE overall_header.html -->
<div style="float: {S_CONTENT_FLOW_END}; width: 20%;">
<h2>{L_NEWS_ARCHIVE}</h2>
<!-- IF .cat_block -->
<div class="panel archive"><span class="corners-top"><span></span></span>
<div class="archive_block">{L_NEWS_CAT}</div>
<!-- BEGIN cat_block -->
<div class="<!-- IF cat_block.S_LAST_ROW -->archive_row-last<!-- ELSE -->archive_row<!-- ENDIF -->"><strong><a class="left news-archive" href="{cat_block.U_NEWS_CAT}">{cat_block.NEWS_CAT}</a> ({cat_block.NEWS_COUNT})</strong></div>
<!-- END cat_block -->
<span class="corners-bottom"><span></span></span></div>
<br />
<!-- ENDIF -->
<!-- IF not S_NEWS_ARCHIVE_PER_YEAR --><div class="panel archive"><span class="corners-top"><span></span></span><!-- ENDIF -->
<!-- BEGIN archive_block --><!-- IF not S_NEWS_ARCHIVE_PER_YEAR and not archive_block.S_FIRST_ROW --><br /><!-- ENDIF -->
<!-- IF S_NEWS_ARCHIVE_PER_YEAR --><div class="panel archive"><span class="corners-top"><span></span></span><!-- ENDIF -->
<div class="archive_block">{L_NEWS_ARCHIVE} {archive_block.NEWS_YEAR}</div>
<!-- BEGIN archive_row -->
<div class="<!-- IF archive_block.archive_row.S_LAST_ROW -->archive_row-last<!-- ELSE -->archive_row<!-- ENDIF -->"><strong><a class="left news-archive" href="{archive_block.archive_row.U_NEWS_MONTH}">{archive_block.archive_row.NEWS_MONTH}</a> ({archive_block.archive_row.NEWS_COUNT})</strong></div>
<!-- END archive_row -->
<!-- IF S_NEWS_ARCHIVE_PER_YEAR --><span class="corners-bottom"><span></span></span></div><br /><!-- ENDIF -->
<!-- END archive_block -->
<!-- IF not S_NEWS_ARCHIVE_PER_YEAR --><span class="corners-bottom"><span></span></span></div><!-- ENDIF -->
</div>
<div style="float: {S_CONTENT_FLOW_BEGIN}; width: 79%;">
<h2><!-- IF NEWS_ONLY --><a href="{postrow.U_NEWS}">{NEWS_TITLE}</a><!-- ELSE -->{L_NEWS}<!-- ENDIF --></h2>
<!-- IF (PAGE_NUMBER and PAGINATION) or TOTAL_NEWS -->
<div class="topic-actions">
<div class="pagination">
{TOTAL_NEWS}<!-- IF PAGE_NUMBER and PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF -->
</div>
</div>
<!-- ENDIF -->
<!-- BEGIN postrow -->
<div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD == 1 --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF NEWS_USER_INFO --><!-- IF postrow.S_ONLINE --> online<!-- ENDIF --><!-- ENDIF -->">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="postbody" <!-- IF not NEWS_USER_INFO -->style="width: 100%;"<!-- ENDIF -->>
<!-- IF postrow.S_IGNORE_POST -->
<div class="ignore">{postrow.L_IGNORE_POST}</div>
<!-- ELSE -->
<!-- IF not S_IS_BOT and NEWS_POST_BUTTONS -->
<!-- IF postrow.U_QUOTE or postrow.U_INFO or postrow.U_DELETE or postrow.U_EDIT -->
<ul class="profile-icons">
<!-- IF postrow.U_QUOTE --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF -->
<!-- IF postrow.U_EDIT --><li class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li><!-- ENDIF -->
<!-- IF postrow.U_DELETE --><li class="delete-icon"><a href="{postrow.U_DELETE}" title="{L_DELETE_POST}"><span>{L_DELETE_POST}</span></a></li><!-- ENDIF -->
<!-- IF postrow.U_REPORT --><li class="report-icon"><a href="{postrow.U_REPORT}" title="{L_REPORT_POST}"><span>{L_REPORT_POST}</span></a></li><!-- ENDIF -->
<!-- IF postrow.U_WARN --><li class="warn-icon"><a href="{postrow.U_WARN}" title="{L_WARN_USER}"><span>{WARN_USER}</span></a></li><!-- ENDIF -->
<!-- IF postrow.U_INFO --><li class="info-icon"><a href="{postrow.U_INFO}" title="{L_INFORMATION}"><span>{L_INFORMATION}</span></a></li><!-- ENDIF -->
</ul>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF not NEWS_ONLY --><h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{postrow.U_NEWS}">{postrow.POST_SUBJECT}</a></h3><!-- ENDIF -->
<p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> » {postrow.POST_DATE} </p>
<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
<p class="rules">
<!-- IF postrow.S_POST_UNAPPROVED -->{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}"><strong>{L_POST_UNAPPROVED}</strong></a><!-- ENDIF -->
<!-- IF postrow.S_POST_REPORTED -->{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}"><strong>{L_POST_REPORTED}</strong></a><!-- ENDIF -->
</p>
<!-- ENDIF -->
<div class="content">{postrow.MESSAGE}</div>
<!-- IF postrow.S_HAS_ATTACHMENTS and not postrow.S_DISPLAY_NOTICE -->
<dl class="attachbox">
<dt>{L_ATTACHMENTS}</dt>
<!-- BEGIN attachment -->
<dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
<!-- END attachment -->
</dl>
<!-- ENDIF -->
<!-- IF postrow.S_DISPLAY_NOTICE --><div class="rules">{L_DOWNLOAD_NOTICE}</div><!-- ENDIF -->
<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
<div class="notice">{postrow.EDITED_MESSAGE}
<!-- IF postrow.EDIT_REASON --><br /><strong>{L_REASON}:</strong> <em>{postrow.EDIT_REASON}</em><!-- ENDIF -->
</div>
<!-- ENDIF -->
<!-- IF postrow.SIGNATURE and NEWS_USER_INFO --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
<!-- ENDIF -->
<div class="notice">
<!-- IF postrow.S_HAS_POLL -->
{L_NEWS_POLL}: <strong>{postrow.POLL_QUESTION}</strong> » <a href="{postrow.U_MINI_POST}">{L_NEWS_POLL_GOTO}</a><br /><br />
<!-- ENDIF -->
<strong>{L_NEWS_READ_FULL}:</strong> <em><a href="{postrow.U_NEWS}">{L_NEWS_READ_HERE}</a></em><br />
<strong>{L_NEWS_GO_TO_TOPIC}:</strong> <em><a href="{postrow.U_MINI_POST}">{postrow.POST_SUBJECT}</a></em><br />
<strong>{L_NEWS_COMMENTS}:</strong> <em>{postrow.NEWS_COMMENTS}</em>
</div>
</div>
<!-- IF NEWS_USER_INFO -->
<!-- IF not postrow.S_IGNORE_POST -->
<dl class="postprofile" id="profile{postrow.POST_ID}">
<dt>
<!-- IF postrow.POSTER_AVATAR -->
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><br />
<!-- ENDIF -->
<!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
</dt>
<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
<dd> </dd>
<!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->
<!-- IF postrow.POSTER_JOINED --><dd><strong>{L_JOINED}:</strong> {postrow.POSTER_JOINED}</dd><!-- ENDIF -->
<!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->
<!-- IF postrow.S_PROFILE_FIELD1 -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<dd><strong>{postrow.PROFILE_FIELD1_NAME}:</strong> {postrow.PROFILE_FIELD1_VALUE}</dd>
<!-- ENDIF -->
<!-- BEGIN custom_fields -->
<dd><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
<!-- END custom_fields -->
<!-- IF not S_IS_BOT -->
<!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM -->
<dd>
<ul class="profile-icons">
<!-- IF postrow.U_PM --><li class="pm-icon"><a href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF -->
<!-- IF postrow.U_EMAIL --><li class="email-icon"><a href="{postrow.U_EMAIL}" title="{L_EMAIL}"><span>{L_EMAIL}</span></a></li><!-- ENDIF -->
<!-- IF postrow.U_WWW --><li class="web-icon"><a href="{postrow.U_WWW}" title="{L_VISIT_WEBSITE}: {postrow.U_WWW}"><span>{L_WEBSITE}</span></a></li><!-- ENDIF -->
<!-- IF postrow.U_MSN --><li class="msnm-icon"><a href="{postrow.U_MSN}" title="{L_MSNM}"><span>{L_MSNM}</span></a></li><!-- ENDIF -->
<!-- IF postrow.U_ICQ --><li class="icq-icon"><a href="{postrow.U_ICQ}" title="{L_ICQ}"><span>{L_ICQ}</span></a></li><!-- ENDIF -->
<!-- IF postrow.U_YIM --><li class="yahoo-icon"><a href="{postrow.U_YIM}" title="{L_YIM}"><span>{L_YIM}</span></a></li><!-- ENDIF -->
<!-- IF postrow.U_AIM --><li class="aim-icon"><a href="{postrow.U_AIM}" title="{L_AIM}"><span>{L_AIM}</span></a></li><!-- ENDIF -->
<!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
</ul>
</dd>
<!-- ENDIF -->
<!-- ENDIF -->
</dl>
<!-- ENDIF -->
<!-- ENDIF -->
<div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
<span class="corners-bottom"><span></span></span></div>
</div>
<hr class="divider" />
<!-- BEGINELSE -->
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
{L_NEWS_NONE}
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- END postrow -->
</div>
<!-- INCLUDE overall_footer.html -->