Guide Category

134

Upgrade Theme 10.4 to 10.5

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.
dlestarter
Upgrade Theme 10.4 to 10.5
Upgrade Theme
10.4 to 10.5
Last Updated: June 3, 2015
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]
    

Related Tutorials

Review/Leave Comment

comments powered by Disqus