dimanche 31 juillet 2016

Upgrade Templates from DLE 11.0 to 11.1

1. Open style/engine.css file at the bottom add:

.xfieldimagegallery {
margin: 0;
padding: 0;
list-style: none;
clear: both;
}

.xfieldimagegallery li {
list-style: none;
margin: 0;
padding: 0;
}

.xfieldimagegallery li img {
float: left;
margin-right: 5px;
border: 5px solid #fff;
width: 100px;
height: 100px;
transition: box-shadow 0.5s ease;
}

.xfieldimagegallery li img:hover {
box-shadow: 0px 0px 7px rgba(0,0,0,0.4);
}

.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
cursor:not-allowed;
pointer-events:none;
opacity:0.65;
filter:alpha(opacity=65);
-webkit-box-shadow:none;
box-shadow:none;
}


2. Open attachment.tpl file to a convenient location place:

[allow-online]<br />View online file: <a href="{online-view-link}" target="_blank">{name}</a>[/allow-online]


3. Open the file userinfo.tpl find:

<li class="form-group">
<table class="xfields">
{xfields}
</table>
</li>


The following add:

<li class="form-group">
<div class="checkbox">{news-subscribe}</div>
</li>
<li class="form-group">
<div class="checkbox">{comments-reply-subscribe}</div>
</li>
<li class="form-group">
<div class="checkbox">{unsubscribe}</div>
</li>