Introduction
The core change of 6.0 is that the design window can directly read and write tabbed templates, that is, the tabbed template and the visualization of the design window are combined into one. All object and layout data are also stored directly in the template file, and there are no longer two data files, pageframe and objects.
The new tagged template syntax has been greatly simplified. For details, please refer to dpstyle/basic/homepage.tpl.php. Reminder, in most cases there is no need to write code by hand, you can use the design window to change the tabbed template.
You can put the tabbed template of DP6 into DW or other web design software for editing, and then use the design window in DP6. DP6 will automatically add codes such as dpid without manual intervention.
6.0.0 Cumulative update list
Supports true static generation of HTML for the entire site (in the "Common Tools" in the background)
New front-end default style, more concise and beautiful. Brand-new template mechanism, tabbed + visual, novices can easily edit, and artists can also conveniently write tab codes. The operation results (layout and object settings) of the design window are directly written into the template file. , realize the seamless switching between visual interface and tabbed templates. A new style directory structure. There is one directory for each style in the dpstyle directory. The pictures of the style are in the img subdirectory of this directory, which facilitates style production and strict template anti-theft protection (using PHP file storage template), effectively protecting the achievements of style designers. Eliminating the restriction that each style is only allowed to use one main.css file. You can reference any number of CSS files in the header.htm of the style. The mechanism of page types is relaxed. In the template directory Each template can be displayed as a topic page. For example, special1.tpl.php can be used? dp-special1.html to access the post content and add malicious code filtering (iframe and js)
Changed the background login method (file-based session to Cookie) to solve the problem of unstable login under dynamic IP, allowing multiple administrators to log in at the same time to solve the problem that the forum picture attachment call cannot reach the specified number.
Historical update record
2008-12-24
Supports true static generation of HTML for the entire site (in the "Common Tools" in the background)
2008-12-22
New front-end default style, more concise and beautiful. All function buttons in the design window have been enabled with a new style directory structure. There is a directory for each style in the dpstyle directory. The pictures of the style are in the img subdirectory of this directory to facilitate style production. Strict template anti-theft protection (using PHP files to store templates) effectively protects the achievements of style designers. It cancels the restriction that each style is only allowed to use one main.css file. Any CSS file page type can be referenced in the header.htm of the style. The mechanism is relaxed, and each template in the template directory can be displayed as a topic page. For example, special1.tpl.php can be used?dp-special1.html to access the post content and add malicious code filtering (iframe and js)
2008-12-15
Added basic support for Discuz7 PHPWind7. The design window function is further opened. The highlight boxes and toolbars of layers, tables, cells, and objects can be displayed (some functions of the toolbar are not open).
The execution time of front-end dpindex.php is shortened by about 30% under the premise that the cache is valid. The original core code idea involved in tagbody reading in the new design window is solved, causing some operation results to become weird.
2008-12-10
Changes to the program core: The design window directly reads and writes the tabbed template. The tabbed template and the visualization of the design window are combined into one. All objects and layout data are also directly stored in the template file. The background login method is changed (the file-based session is changed to Cookie ), solve the problem of unstable login under dynamic IP, allow multiple administrators to log in at the same time, and solve the problem that the forum picture attachment call cannot reach the specified number.
Expand