Upgrade Templates from DLE 10.4 to 10.5

Upgrade Templates from DLE 10.4 to 10.5 ENGLISH
Datalife Engine 10.5 is "the most completed features version in the history of release versions according to DLE expert", in this tutorial we will show you how to upgrade template/theme when you upgraded Datalife Engine 10.4 to 10.5 easily and step by step in English and easy to follow.
 1) Open {THEME}/style/engine.css

 ADD the following at the end of the file:

/*---Showing tree Comments---*/
.comments-tree-list {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.comments-tree-list .comments-tree-list {
  padding-left: 30px;
}
.comments-tree-item {
  display: block;
  margin: 0;
  padding: 0;
}
/*---Form a quick response to a comment---*/
#dlefastreplycomments{
  padding:5px;
  background: #e4ecf0;
  margin: 5px 5px 5px 30px;
}
.commentsreplyname {
 padding: 2px; border: 1px solid #bcc0c2;
 width: 200px;
 background: #fff url("../images/fields.png") repeat-x;
}
/*---Displays the results of voting on the site---*/
.pollallvotes {
  text-align: center;
  margin-top: 10px;
}
2) Open comments.tpl and in any location:

 Add:

[reply] Answer [/reply]
3) In the folder of your template, create a new template file attachment.tpl with the following contents attachment.tpl content

[allow-download]<span class="attachment"><a href="{link}" >{name}</a> [count] [{size}] (Downloads: {count})[/count]</span>[/allow-download]
[not-allow-download]<span class="attachment">You are not allow to download file from our server</span>[/not-allow-download]

About the Author

Saya bagian dari CKD (pesakit buah pinggang kronik) selama 8 thn. siapa-siapa nak bantu saya untuk biaya Injection.boleh email saya. Click Profile

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.