Mambo whole site system 5.4.0 has eliminated some bugs and made some improvements based on 5.3.0, mainly as follows:
* Optimize the method of obtaining menu item Itemid, reducing the number of SQL queries by more than 30% overall and effectively improving access speed. After the system default sample data is installed, the number of SQL queries on the homepage before optimization is 74, and the number of SQL queries on the homepage after optimization is 35. Other pages have been reduced to varying degrees.
* Enhance the SEF static link function, use menu item names, unit names, category names, etc. as link paths to make the links semantic, support Chinese names, intuitive and easy to understand, and more convenient for search engines to include.
* Dynamically set the homepage URL so that multiple domain names can share one website.
* There are fewer bugs, and the system runs more stable and smoothly. Even if all error prompt options of php are turned on, Notice or Warning prompts rarely appear.
...
Here are more details:
1. Fix bugs
1. The latest article module/popular article module reads the menu item Itemid value of the unit or category incorrectly (this bug occurs when the upper-level menu is a unit and the lower-level menu is a category)
2. Eliminate PHP notice prompts
1) Eliminate the text that appears on the homepage and blog style
Notice: Undefined variable: Author in W:wwwmambors5.3.0test1componentscom_contentcontent.html.php on line 760
2) Eliminate the error message that appears when the content option shows the author but not the creation date
Notice: Undefined variable: create_date in W:wwwso.mambochina.netcomponentscom_contentcontent.html.php on line 763
3. Select publish when editing the trigger, but it is not published after saving.
4. Click "Website Trigger" to display the list of all triggers, but the search type is displayed when selecting the type.
5. The author is not shown in the article details
6. The website uses UTF-8 encoding. When creating or editing content items in the background, garbled characters will appear when clicking "Upload" on the menu bar above. I checked the charset and found that it is GB2312, not UTF-8.
7. When editing a content entry, the "Change Creation Date" field displays the default date when it was created (for example, 2008-01-11 16:13:53). After saving, the creation date will automatically change to the record in 2004 (for example, 2008-01-11 16:13:53). 2004-08-31 21:11:22), the front-end articles are queued to the end. If "Change Creation Date" is left blank; the creation date becomes the current time, and the front-end articles are queued to the front again. Very troublesome
2. Enhanced functions
1. Optimize the method of obtaining the menu item Itemid, reducing the overall number of SQL queries by more than 30% and effectively improving the access speed. After the system default sample data is installed, the number of SQL queries on the homepage before optimization is 74, and the number of SQL queries on the homepage after optimization is 35. Other pages have been reduced to varying degrees.
2. The "Preview" menu item in the background has been upgraded to the top-level menu for ease of use.
3. Enhance the SEF static link function, use menu item names, unit names, category names, etc. as link paths to make the links semantic, support Chinese names, intuitive and easy to understand, and more convenient for search engines to include.
Each component can define its own static link through its own sef.php file. Those components that do not have their own sef.php file will use the system's default static link processing. Currently, enhanced SEF static links for components such as content and homepage have been implemented. Other core components and third-party components still use the system's original default SEF. Developers are welcome to enhance and develop SEF static linking functions for third-party components. For specific methods, please refer to includes/sef.php and components/com_content/sef.php
4. Dynamically set the homepage URL $mosConfig_live_site so that multiple domain names can share one website (not forwarding)
5. Improve content components
1) Change the content details url link to
index.php?option=com_content&task=view§ionid=$sectionid&catid=$catid&id=$id&Itemid=$Itemid
2) Change the category blog style url link to
index.php?option=com_content&task=blogcategory§ionid=$sectionid&id=$id&Itemid=$Itemid
3) Change the category list style url link to
index.php?option=com_content&task=category§ionid=$sectionid&id=$id&Itemid=$Itemid