Ekran Görüntüsü
simdi dediklerimi adim adim takip edin
Önemli eger site temaniz .css degilde overall_header.tpl deyse css biglileri söyle yapin
<style type="text/css">
<!--
bunun altina css kodunu ekleyin ve imaji yani download-attachament.png yi serverinizin ana klasörüne atin . iki kere test edilmistir. umarim beyenirsiniz.
[1]
AC
.sitenizin adi.com/templates/temaismi/tema.css ( örnek: ./templates/subSilver/subSilver.css
En Alta Ekleyin
[syntax="css"]
a.download-link {
display: block;
padding: 0 0 12px 0;
margin-bottom: 0.2em;
text-decoration: none;
color: #256504;
width: 285px;
margin-left: 150px;
}
a.download-attachament {
background: url("download-attachament.png") 0 100% no-repeat;
}
a.download-link span {
display: block;
padding: 9px 10px 0 58px;
min-height: 68px;
}
a.download-link span { height: 140px; }
#main-feature a.download-attachament span {
background: url("download-attachament.png") 0 0 no-repeat;
}
[/syntax]
[2]
AC
templates/subSilver/viewtopic_attach_body.tpl
BUL
[syntax="html"]<!-- BEGIN attachrow -->
<div align="center"><hr width="95%" /></div>
<table width="95%" border="1" cellpadding="2" cellspacing="0" class="attachtable" align="center">
<tr>
<td width="100%" colspan="3" class="attachheader" align="center"><b><span class="gen">{postrow.attach.attachrow.DOWNLOAD_NAME}</span></b></td>
</tr>
<tr>
<td width="15%" class="attachrow"><span class="genmed"> {L_DESCRIPTION}:</span></td>
<td width="75%" class="attachrow">
<table width="100%" border="0" cellpadding="0" cellspacing="4" align="center">
<tr>
<td class="attachrow"><span class="genmed">{postrow.attach.attachrow.COMMENT}</span></td>
</tr>
</table>
</td>
<td rowspan="4" align="center" width="10%" class="attachrow">{postrow.attach.attachrow.S_UPLOAD_IMAGE}<br /><a href="{postrow.attach.attachrow.U_DOWNLOAD_LINK}" {postrow.attach.attachrow.TARGET_BLANK} class="genmed"><b>{L_DOWNLOAD}</b></a></td>
</tr>
<tr>
<td width="15%" class="attachrow"><span class="genmed"> {L_FILENAME}:</span></td>
<td width="75%" class="attachrow"><span class="genmed"> {postrow.attach.attachrow.DOWNLOAD_NAME}</span></td>
</tr>
<tr>
<td width="15%" class="attachrow"><span class="genmed"> {L_FILESIZE}:</span></td>
<td width="75%" class="attachrow"><span class="genmed"> {postrow.attach.attachrow.FILESIZE} {postrow.attach.attachrow.SIZE_VAR}</td>
</tr>
<tr>
<td width="15%" class="attachrow"><span class="genmed"> {postrow.attach.attachrow.L_DOWNLOADED_VIEWED}:</span></td>
<td width="75%" class="attachrow"><span class="genmed"> {postrow.attach.attachrow.L_DOWNLOAD_COUNT}</span></td>
</tr>
</table>
<div align="center"><hr width="95%" /></div>
<!-- END attachrow -->[/syntax]
BUNUNLA DEGISTIR.
[syntax="html"]
<!-- BEGIN attachrow -->
<div align="center"><hr width="95%" /></div>
<div id="main-feature">
<div class="feature-contents">
<div class="home-download">
<a href="{postrow.attach.attachrow.U_DOWNLOAD_LINK}" class="download-link download-attachament"><span class="genmed" align "left"><center>
<strong>{L_DOWNLOAD} ({postrow.attach.attachrow.FILESIZE} {postrow.attach.attachrow.SIZE_VAR}) </strong>
</center><br /><br /><br />{L_FILENAME}: {postrow.attach.attachrow.DOWNLOAD_NAME}<br>{postrow.attach.attachrow.L_DOWNLOADED_VIEWED}: {postrow.attach.attachrow.L_DOWNLOAD_COUNT}<br />
{L_DESCRIPTION}: {postrow.attach.attachrow.COMMENT}</span></a>
</div>
</div>
</div>
<!-- END attachrow -->[/syntax]
[3]
imaj burda : -> http://i1.tinypic.com/s3dgfc.png
Ekteki dosyayi indirin
ismini : download-attachament.png olarak degistirin ve kullandiginiz temanin icine atin (images dizinine degil ! )
HEPSINI KAYDET ve TADINI CIKART