Changes between Version 7 and Version 8 of DolDesign


Ignore:
Timestamp:
Nov 6, 2017, 1:00:05 PM (6 years ago)
Author:
AlexT
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DolDesign

    v7 v8  
    22== '''''Custom template creation''''' == 
    33 
    4 Design templates in the new Dolphin 7 are a little bit different from Dolphin 6. Now almost all content representation can be controlled by system templates and modules templates. See the description of the '''!BxDolTemplate''' class for the complete list. 
     4Design templates in the new Dolphin 7 are a little bit different from Dolphin 6. Now almost all content representation can be controlled by system templates and modules templates. See the description of the '''!/inc/classes/BxDolTemplate''' class for the complete list. 
    55 
    6 To start new templates, it is best to make it a copy of the UNI template. UNI is empty template which inherits the base template only. The base template is never used directly, but all other templates must inherit it, and override only the necessary features. After you make a copy of the UNI template, you can start to override its styles. 
     6To start new templates, it is best to make it a copy of the UNI template, then edit '''!scripts/BxTemplName.php''' in your template folde. UNI is an empty template which inherits the base template only. The base template is never used directly, but all other templates must inherit it, and override only the necessary features. After you make a copy of the UNI template, you can start to override its styles. 
    77 
    88For example, you need to override body color in the common.css file, then you need to add style for body color in your common.css file, which has only one line by default  - inclusion of the common.css file from the base.  It is strongly prohibited to copy the CSS files from the base, because it will make future version upgrades more difficult.  
     
    1515In most cases, all you need is to override some CSS, html and PHP files, but in some rare cases you need to modify modules design too. In this case you need to follow the same rules but regarding the module templates directory, it also has ''css'', ''script'' directories like main site templates, and also all modules come with the base template.  
    1616 
    17 For more information about templates see the '''!BxDolTemplate''' class. 
     17For more information about templates see the '''!/inc/classes/BxDolTemplate''' class. 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
Fork me on GitHub