User Defined Menu: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
945 bytes added ,  19:55, 21 September 2022
m
Line 10: Line 10:


== Operation ==
== Operation ==
In the website root there must exist a file ''CUsermenu.txt'' which contains the 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.
=== 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 ==
== Output ==

Navigation menu