Home > Article > Backend Development > How to add destoon company homepage template style_PHP tutorial
The DESTOON system provides us with several sets of default homepage templates. If we are not satisfied with them, we can also make our own templates. Let’s first take a look at several key positions involved in the company templates in the system.
Company homepage template is stored in the template directory /homepage/ (the default is template/default/homepage)
Company homepage style is stored in company/skin/
These two locations are very important. They are where the company homepage template is stored, and where the production template is stored. Under normal circumstances, it is recommended not to directly modify the default template or style for production reference.
If you need to create a new set of templates, you can copy the template directory/homepage directory, such as template directory/newhomepage. To create a set of styles, you can copy the company/skin/default directory, such as company/skin/newskin.
Enter the backend-->Member Management-->Company Management-->Company Template-->Add Template
Template name: Fill in the name of the new template, such as: newmoban
Style Directory Fill in the newskin style CSS styles and store them in this template.
Template Directory Fill in newhomepage and create a new directory to store the prepared templates.
Member Group Select
based on the user group that needs to be authorized
At the front desk of the website, log in with a test member account and enter the member center home page settings template
Enable the newly added template, the template here must be enabled to preview.
Then refresh the member homepage related pages while modifying the style and template, and you can see the effect of the new template.
After the template is created, grab the interface image, modify the size to 150px