For Destoon templates, you first need to understand the concepts of two destoon: templates (template) and styles (skin). The template is stored in the System template directory, the style (picture of the system interface, CSS file) is stored in the system skin directory, that is to say, template place the paging file, skin place the style file.
Destoon Template Making process:
First of all, the template and Skin folder under the original default folder copy copies, and renamed to Newmoban, ready to be in the system with the default template file on the basis of modifications to their own template.
Then, modify the contents of the file these.name.php under the template and Skin folders and add the name of the new template:
Add a line:newmoban=> ' new template ' after the ' default ' => ' statement, and upload it to the Web site,
Login site background Management, when the "System settings"-"Site Settings"-"Basic settings" you can see that there are two options: site default style, site default template has a list of more than one item: "New Template", set into a clock style, to determine the preservation, template and style on the modified over.
Here the template and style can be used with, but the style everyone's debugging.
DT New Add article model how to add template?
Need to add an article channel, a new article model of the section, the default new article module is the default of the official from the board, want to change their own module, if directly to modify, all the article model is all changed, then need to make new.
Backstage, open the function module, new article Model-module settings, point new, enter new name and text name, click OK, then back to the module settings, in the dropdown box to associate.
There's a problem here, sometimes a new template is built, can be in the dropdown box or only a default template, there is no template of their own, this time to check the new template name and text name, my name is Plan_index results can not be associated with success, template management inside the template series is shown Plan, may be the reason here, the solution is very simple, the name becomes Index-plan this can be, the template series is index, the column type of the first page, the building must be optimistic about the template series, list and search page are the same truth.