Recent Block modify

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
Milordk
Active Member
Posts: 7
Joined: 15. September 2008 15:27

Recent Block modify

Post 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
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Recent Block modify

Post 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. ;)

Topic author
Milordk
Active Member
Posts: 7
Joined: 15. September 2008 15:27

Re: Recent Block modify

Post by Milordk »

Thanks! Has corrected;) actually recently all I master... Time is necessary!

dimasik
Active Member
Posts: 5
Joined: 6. August 2008 18:56
Location: Holland
Contact:

Re: Recent Block modify

Post by dimasik »

Thank you big, good addition!
The Proletarian of all countries Unite!
Locked

Return to “board3 Portal 1.0.x - English Support”