Page 1 of 1

Recent Block modify

Posted: 18. September 2008 12:01
by Milordk
Screen
Image

Code
recent.html (/styles/prosilver/template/portal/block/)

Code: Select all

<!--version $Id: recent.html 285 2008-08-10 21:58:43Z icedcold $ //-->
<!-- IF .latest_announcements or .latest_hot_topics or .latest_topics -->
        <!-- IF .latest_announcements -->
<h3>{L_RECENT_NEWS}</h3>
<div class="forabg">
        <div class="inner">
                <span class="corners-top"><span></span></span>
                <ul class="topiclist">
                        <li class="header"><dl><dt>{L_RECENT_ANN}</dt></dl></li>
                </ul>
                <ul class="topiclist forums">
                        <li><dl>
                                <dd class="posts_portal" style="border-left:0px;width:100%">
                                <table width="100%">
                        <tr>
                                <td class="row1" style="width: 75%;" valign="top">
                                        <span class="gensmall">
                                        <!-- BEGIN latest_announcements -->
                                                                <a href="{latest_announcements.U_VIEW_TOPIC}" title="{latest_announcements.FULL_TITLE}">{latest_announcements.TITLE}</a><br />
                                        <!-- END latest_announcements -->
                                        </span>
                                </td>
                                </tr>
                        </table>
                                </dd>
                        </dl></li>
                </ul>
                <span class="corners-bottom"><span></span></span>
        </div>
</div>
<!-- ENDIF -->








          <!-- IF .latest_hot_topics -->
<div class="forabg">
        <div class="inner">
                <span class="corners-top"><span></span></span>
                <ul class="topiclist">
                        <li class="header"><dl><dt>{L_RECENT_HOT_TOPIC}</dt></dl></li>
                </ul>
                <ul class="topiclist forums">
                        <li><dl>
                                <dd class="posts_portal" style="border-left:0px;width:100%">
                                <table width="100%">
                              <tr>
                                <td class="row1" style="width: 75%;" valign="top">
                                        <span class="gensmall">
                                        <!-- BEGIN latest_hot_topics -->
                                                <a href="{latest_hot_topics.U_VIEW_TOPIC}" title="{latest_hot_topics.FULL_TITLE}">{latest_hot_topics.TITLE}</a><br />
                                        <!-- END latest_hot_topics -->
                                        </span>
                                </td>
                                </tr>
                        </table>
                                </dd>
                        </dl></li>
                </ul>
                <span class="corners-bottom"><span></span></span>
        </div>
</div>
                                <!-- ENDIF -->


                                <!-- IF .latest_topics -->
<div class="forabg">
        <div class="inner">
                <span class="corners-top"><span></span></span>
                <ul class="topiclist">
                        <li class="header"><dl><dt>{L_RECENT_TOPIC}</dt></dl></li>
                </ul>
                <ul class="topiclist forums">
                        <li><dl>
                                <dd class="posts_portal" style="border-left:0px;width:100%">
                                <table width="100%">

                           <tr>
                                <td class="row1" style="width: 75%;" valign="top">
                                        <span class="gensmall">
                                        <!-- BEGIN latest_topics -->
                                                <a href="{latest_topics.U_VIEW_TOPIC}" title="{latest_topics.FULL_TITLE}">{latest_topics.TITLE}</a><br />
                                        <!-- END latest_topics -->
                                        </span>
                                </td>
                                </tr>
                        </table>
                                </dd>
                        </dl></li>
                </ul>
                <span class="corners-bottom"><span></span></span>
        </div>
</div>
<!-- ENDIF -->




<div class="forabg">
        <div class="inner">
                <span class="corners-top"><span></span></span>
                <ul class="topiclist">
                        <li class="header"><dl><dt>???????‹?µ ???????±?‰?µ?????? (Last Post)</dt></dl></li>
                </ul>
                <ul class="topiclist forums">
                        <li><dl>
                                <dd class="posts_portal" style="border-left:0px;width:100%">
                                <table width="100%">
                                <tr><td class="row1" valign="top">
                                        <span class="gensmall">
                                        <!-- BEGIN latest_posts -->
                                                <a href="{latest_post.U_VIEW_TOPIC}" title="{latest_post.FULL_TITLE}">{latest_post.TITLE}</a><br />
                                        <!-- END latest_posts -->
                                        </span>
                                </td>
                                <td class="row1" valign="top">
                                        <span class="gensmall"><a href="{U_NEW_POSTS}">{L_NEW_POSTS}</a></li></span></td>

                        </tr>
                        </table>
                                </dd>
                        </dl></li>
                </ul>
                <span class="corners-bottom"><span></span></span>
        </div>
</div>





<br style="clear:both" />
<!-- ENDIF -->
Demo board

Re: Recent Block modify

Posted: 18. September 2008 14:19
by Marc
This is a style error. Try modifiying this part in the colours.css:

Code: Select all

.forabg {
	background-color: #0076b1;
	background-image: url("{T_THEME_PATH}/images/bg_list.gif");
}

.forumbg {
	background-color: #12A3EB;
	background-image: url("{T_THEME_PATH}/images/bg_header.gif");
}
The background-color you chose does not fit you bg_list.gif. ;)

Re: Recent Block modify

Posted: 27. September 2008 18:13
by Milordk
Thanks! Has corrected;) actually recently all I master... Time is necessary!

Re: Recent Block modify

Posted: 8. October 2008 21:38
by dimasik
Thank you big, good addition!