User Defined Menu: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
 
== Operation ==
=== System 1 ===
In the website root there must exist a file ''CUsermenu.txt'' which contains the user defined menu. When the ''index.html'' is requested by a visitor the file ''CUsermenu.txt'' is read and the items in there form the ''User Defined Menu'' which is explained below. This menu is dynamically used by the website and NOT generated by CumulusUtils.
 
=== System 2 ===
In the utils directory there must be a file ''CutilsMenu.def'' in the utils directory. The default contents of this file as delivered in the distribution is :
 
Home;
About;
Reports;
Graphs;
Records;
Extra;
Misc;
Toggle Dashboard;
 
You recognize the standard menu of CumulusUtils.
From version 6.12 the menu runs from left to right (as before it went from right to left). In version 6.12 the user can only change the order of the menu items by changing the place of the item in the file.
Future versions will have the possibility to add items to the standard menu, it will never be possible to remove items from the menu. Standard items can only be configured through ''cumulusutils.ini''
 
Both files for System 1 & 2 are available in the distribution.
Both System 1 & 2 can be used at the same time.
 
== Output ==

Navigation menu