Project Address: http://www.freeteam.cn/
Menu Management
Freecms positioned at design time for two-time development friendly, so Freecms provides menu management features, two times developers can freely add new features menu to Freecms .
to make the background management feature more prescriptive, Freeteam recommends that you put the new added functionality Admin directory, the system also Admin all resources in the directory are authenticated to ensure the access security of the resources.
Support Starting from Freecms 1.7
menu to add icon properties.
1. Add a level menu
from the admin menu on the left, click menu Management to enter.
Click "Add Root Menu"
Select icon
enter the relevant properties and click "OK".
Note :
1. The menu address is/admin/is the default prefix: The menu address istest. Do,then the address of this feature is/admin/test.do ; If you need to point to an address other than the admin directory, just fill in the full address, such as/test.do orhttp://localhost/test.do.
2 The menu code is used when writing a program, for permission control, and recommended to be set to a unique code.
clicking "Save" will prompt the result of the operation
when prompted " Add Menu XXX Success " indicates that this menu has been added. You can see it when you refresh the page.
2. Modify Menu
Select the menu you want to modify, such as "root Menu"
Click "Edit"
enter the relevant properties and click "OK".
clicking "Save" will prompt the result of the operation
when prompted " Modify Menu XXX Success " indicates that this menu has been modified. You can see it when you refresh the page.
3. Add sub-menu
Select the menu you want to add a submenu to, such as "root Menu"
Click "Add Subordinate"
after filling in the relevant properties, click "Save".
clicking "Save" will prompt the result of the operation.
when prompted " Add Menu XXX Success " indicates that this menu has been added. You can see it when you refresh the page.
4. Transfer Menu
for user convenience, FREECMS provides an easy way to change the menu structure so that you do not need to delete the Rebuild menu when you want to make adjustments to the menu structure.
Select the menu to which you want to change the menu, such as "root Menu"
Click "Transfer"
Select the location you want to adjust, such as "Site" and click directly.
Note :
1) If you select Set as Root menu, this menu becomes the root menu.
2) When you change the owning menu, the submenu of the menu is shifted along with this menu.
5. Manage action Buttons
The administration page generally has the action button, FREECMS provides the Operation button management function for the menu.
Select the menu that needs to manage the action buttons, such as "root Menu"
Click on the "Action button" to open the Administration page
enter the relevant properties and click Add.
Note : Execution code is the JS code that triggers when this button is clicked .
to modify or delete a direct click on the following edit or delete button can be.
Tips : In the Administration page, you can use the following two methods to make calls, but first you need to add
<% @taglib prefix= "FS" uri= "/fs-tags"%> enable the FS tag library (freecms tag library).
1) <fs:operbuttons/> : Automatically extracts the active buttons in sequence.
2) <fs:operbutton buttonname= " Add "/> : Extracts the action button that displays the specified name.
6. Menu Sort
In addition to sorting by hand-filling the menu sort, you can sort by clicking on the "Up" and "down" two buttons directly on the menu list.
7. Delete Menu
Delete Menu function will delete the specified menu and submenu, this operation is not recoverable, please do it carefully.
Select the menu you want to delete, such as "root Menu"
Click the "delete" button
to prevent the user from Misoperation, the system will prompt the user to confirm, click "OK" button
the results of the operation are displayed below click OK
when prompted " Operation succeeded " indicates that this menu has been deleted. You can see it when you refresh the page.
Open Source free Java cms-freecms2.1 menu Management