diff --git a/docs/create.sql b/docs/create.sql index 6dc488881..24df7b655 100644 --- a/docs/create.sql +++ b/docs/create.sql @@ -377,14 +377,14 @@ INSERT INTO Navigation VALUES (8,'rootmenu',1,'daughters','root',-1,3,0,0,0,0); INSERT INTO Navigation VALUES (9,'SpecificDropMenu',3,'descendants','home',-1,4,0,0,0,0); INSERT INTO Navigation VALUES (10,'SpecificSubMenuVertical',3,'descendants','home',-1,1,0,0,0,0); INSERT INTO Navigation VALUES (11,'SpecificSubMenuHorizontal',1,'descendants','home',-1,3,0,0,0,0); -INSERT INTO Navigation VALUES (12,'TopLevelMenuVertical',99,'descendants','WebGUIroot',-1,1,0,0,0,0); -INSERT INTO Navigation VALUES (13,'TopLevelMenuHorizontal',99,'descendants','WebGUIroot',-1,3,0,0,0,0); +INSERT INTO Navigation VALUES (12,'TopLevelMenuVertical',1,'descendants','WebGUIroot',-1,1,0,0,0,0); +INSERT INTO Navigation VALUES (13,'TopLevelMenuHorizontal',1,'descendants','WebGUIroot',-1,3,0,0,0,0); INSERT INTO Navigation VALUES (14,'RootTab',99,'daughters','root',-1,5,0,0,0,0); -INSERT INTO Navigation VALUES (15,'TopDropMenu',99,'decendants','WebGUIroot',-1,4,0,0,0,0); +INSERT INTO Navigation VALUES (15,'TopDropMenu',1,'decendants','WebGUIroot',-1,4,0,0,0,0); INSERT INTO Navigation VALUES (16,'dtree',99,'self_and_descendants','WebGUIroot',-1,6,0,0,0,0); INSERT INTO Navigation VALUES (17,'coolmenu',99,'descendants','WebGUIroot',-1,7,0,0,0,0); INSERT INTO Navigation VALUES (18,'Synopsis',99,'self_and_descendants','current',-1,8,0,0,0,0); -INSERT INTO Navigation VALUES (1000,'TopLevelMenuHorizontal_1000',99,'WebGUIroot','WebGUIroot',-1,1000,0,0,0,0); +INSERT INTO Navigation VALUES (1000,'TopLevelMenuHorizontal_1000',1,'WebGUIroot','WebGUIroot',-1,1000,0,0,0,0); INSERT INTO Navigation VALUES (1001,'currentMenuHorizontal_1001',1,'descendants','current',-1,1001,0,0,0,0); INSERT INTO Navigation VALUES (1002,'FlexMenu_1002',99,'pedigree','current',2,1,0,0,0,0); diff --git a/docs/upgrades/upgrade_6.0.0-6.0.1.sql b/docs/upgrades/upgrade_6.0.0-6.0.1.sql index ea4ee45c8..9a61c409e 100644 --- a/docs/upgrades/upgrade_6.0.0-6.0.1.sql +++ b/docs/upgrades/upgrade_6.0.0-6.0.1.sql @@ -79,7 +79,7 @@ INSERT INTO international VALUES (1094,'WebGUI',1,'Navigation, Manage',107820804 INSERT INTO international VALUES (1095,'WebGUI',1,'
The general idea behind the navigation system is that instead of
hardwiring all the various choices you might make into the code, the
system manages a \'library\' of these styles, just the way it does with
Snippets, Images, Templates, Page Styles, and other types of reusable
information. You can create a new \'nav menu style\', give it a name,
and then use it anywhere on your site that you like.
The navigation system consists of two parts:
\r\nThe easiest way to add a completely new menu to your site is to put a ^Navigation(myMenu); macro into your style.
A \"edit myMenu\" link will be displayed if \"myMenu\" is not defined.
Note: In this example \"myMenu\" is used, but you can pick any name, as long as it is unique.
',1078462928,NULL); INSERT INTO international VALUES (1096,'WebGUI',1,'Navigation Template',1078207966,NULL); INSERT INTO international VALUES (1097,'WebGUI',1,'config.buttonpage_loop
A loop containing page information.
\r\n\r\npage.menuTitle
\r\n
The menu title of this page.page.title
\r\n
The title of this page.page.urlizedTitle
\r\n
The urlized title of this pagepage.url.page.url
\r\n
The url of this page.page.pageId
\r\n
The pageId of this page.page.parentId
\r\n
The ParentId of this page.page.ownerId
\r\n
The ownerId of this page.page.synopsis
\r\n
The synopsis of this page.page.newWindow
\r\n
A condition indicating whether this page should be opened in a new window.page.absDepth
\r\n
The absolute depth of this page (relative to nameless root).page.relDepth
\r\n
The relative depth of this page (relative to starting point).page.isCurrent
\r\n
A condition indicating whether this page is current page.page.isHidden
\r\n
A condition indicating whether this page is a hidden page.
(Note: This variable is only visible if \"Show hidden pages\" is switched on.)page.isSystem
\r\n
A condition indicating whether this page is a system page (Trash, Clipboard, etc).
(Note: This variable is only visible if \"Show system pages\" is switched on.)page.isViewable
\r\n
A condition indicating whether the user has permission to view it.
(Note: This variable is only visible if \"Show unprivileged pages\" is switched on.)page.indent
\r\n
A variable containing the indent for current page. The default indent is three spaces. Use the page.indent_loop if you need a more flexible indent.page.indent_loop
\r\n
A loop that runs page.relDepth times.\r\n\r\nindent
A number representing the loop count.page.isRoot
\r\n
A condition indication whether this page is a root page.page.isTop
\r\n
A condition indication whether this page is a top page (daughter of root).page.hasDaughter
\r\n
A condition indication whether this page has a daughter. In other words: It evaluates to true if this page is a mother.page.isMyDaughter
\r\n
A condition indication whether this page is a daughter of current page.page.isMyMother
\r\n
A condition indication whether this page is the mother of current page.page.mother.title
\r\n
The title of the mother of this page.page.mother.urlizedTitle
\r\n
The urlized title of the mother of this page.page.mother.pageId
\r\n
The pageId of the mother of this page.page.mother.parentId
\r\n
The parentId of the mother of this page.page.depthIs1 , page.depthIs2 , page.depthIs3 , page.depthIs4 , page.depthIsN
\r\n
A condition indicating whether the depth of this page is N. This variable is useful if you want to style a certain level.<tmpl_if page.depthIs1>
\r\n
<img src=\"level1.gif\">
<tmpl_else>
<img src=\"defaultBullet.gif\">
</tmpl_if>page.relativeDepthIs1 , page.relativeDepthIs2 , page.relativeDepthIs3 , page.relativeDepthIsN
A condition indicating whether the relative depth of this page is N.
',1078207966,NULL); -update Navigation set depth=99 where depth=0; +update Navigation set depth=1 where depth=0; delete from international where internationalId=981 and namespace='WebGUI'; delete from template where namespace='Macro/L_loginBox' and templateId=2; INSERT INTO template VALUES (2,'Horizontal Login Box','\n','Macro/L_loginBox',1,1);