DataLife Engine allows template system for outputting news as well as to various output modules. We have tried to simplify the use of patterns in the engine , in order to use them you do not need to have any knowledge of programming languages , only the typesetting language HTML. However, for a more complete and easy to use templates, we recommend that you carefully read the instruction manual of the templates to determine which tags are used in the templates and what they are for .
DLE is a pattern in a folder that is in turn in a folder / templates /. The files in the folder template are the same template files .
You can also connect a template file to another , using the tag {include file="my_block.tpl"} connects the tag specified in the template file my_block.tpl . The tag is designed to facilitate the structure of the template , if you are using a complex layout with multiple tags. This tag is valid in any template file . Tpl included file must be located in the folder of your template or its subfolders , if you want to connect the template file , which is in a different template , you must use the full path from the root of where the script is installed , for example , {include file="/templates/mytemplate/my_block.tpl"}.
Tags in a connected template should be the same , which are allowed in a pattern which connects a file, for example if the file is connected in a pattern my_block.tpl main.tpl, then tags in this file will work only those that are possible in main.tpl.
المشاركات