Adds a flash clock block to your simple portal,you must have this portal mod installed here : viewtopic.php?f=8&t=354
upload this sidemenuclock.swf to both prosilver and subsilver2 theme/images folder.
download: Open language/en/mods/simple_portal.php
find:
Code: Select all
'PORTAL_HEADLINE' => 'Portal',
Code: Select all
'DATE_TIME' => 'DATE & TIME',
Open styles/prosilver/template/simpleportal_body.html
find:
Code: Select all
<!-- Start User Menu -->
Code: Select all
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{L_DATE_TIME}</dt>
</dl>
</li>
</ul>
<div class="sidemenu_custom">
<ul class="topiclist forums">
<li><div style="text-align: center;">
<object type="application/x-shockwave-flash" data="{T_THEME_PATH}/images/sidemenuclock.swf" width="180" height="180">
<param name="wmode" value="transparent" />
<param name="movie" value="{T_THEME_PATH}/images/sidemenuclock.swf" />
</object>
</div></li>
</ul>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
pic: subsilver2 instructions
Open styles/subsilver2/template/simpleportal_body.html
find:
Code: Select all
<!-- Start User Menu -->
Code: Select all
<table class="tablebg" width="100%" cellspacing="1" style="table-layout: fixed;">
<tr>
<th>{L_DATE_TIME}</th>
</tr>
<tr>
<td class="cat"></td>
</tr>
<tr>
<td class="row1" width="100%" valign="middle">
<div class="username" style="text-align: center;">
<object type="application/x-shockwave-flash" data="{T_THEME_PATH}/images/sidemenuclock.swf" width="100%" height="180">
<param name="wmode" value="transparent" />
<param name="movie" value="{T_THEME_PATH}/images/sidemenuclock.swf" />
</object>
</div>
</td>
</tr>
</table>
pic: