This page is designed to create a new menu and edit the parameters of existing ones.
Button | Description |
---|---|
Folder | Shows a folder currently opened in the Site Explorer. |
Extended/ Simple mode | Switches between editing modes. |
Edit as file | Switches to the menu source code editing mode. The button is displayed when editing the existing menu only. |
Delete menu | Deletes the menu being edited. |
This table is the user interface used to create menu items in simple mode. To add new items, fill in the fields and click Save.
Field | Description |
---|---|
Menu type | The type of the menu to be created. |
Menu items | |
Name | The menu item name. It is the name to be displayed in the public section menu. |
Link | The hyperlink to a page or section which will be opened when a visitor selects the item. |
Sorting | Specifies the menu item sort weight. The less is the number, the higher is the item in menu. |
Delete | Deletes the menu item. Check this field and click Save or Apply to delete the menu item. |
In addition to the simple mode, the advanced mode allows changing the following parameters.
Field | Description |
---|---|
Menu type | The type of the menu to be created. |
Menu template | If a menu requires a special template for display, you can specify the path to a template here. |
Menu items | |
Name | The menu item name. It is the name to be displayed in the public section menu. |
Link | The hyperlink to a page or section which will be opened when a visitor selects the item. |
Sorting | Specifies the menu item sort weight. The less is the number, the higher is the item in menu. |
Delete | Deletes the menu item. Check this field and click Save or Apply to delete the menu item. |
Additional links to highlight | Specifies the site pages which, when opened, will cause the menu item to be highlighted. For example, the menu item Siemens is linked to a page containing a list of phones (/catalog/phone/section.php). If you want the Siemens menu item to highlight when a user views the phone details, specify the detailed information page in this field (for example, /catalog/phone/element.php). All paths should be specified relative the site root. If all these pages are stored in one folder, specify the path to this folder relatively to the root (for example, /catalog/phone/element.php). |
Condition type | Specifies the condition type. When the condition is met, the menu item is displayed to the visitors:
|
Condition | Specifies the condition type. When the condition is met the created menu item is displayed. |
Parameters | Specifies any parameters used when a template-based menu item is being built. The parameters are stored in an associated array $PARAMS
in form of pairs "name => value". When a template-based menu is being built, the template itself may contain the condition
to check the parameter, for example:
if ($PARAMS["MY_PARAM"]=="Y")or of a value is specified: <a href='".$link."' class='".$clrtext."' title='".$PARAMS["ALT"]."'>".$TEXT."". $clrimg ."</a> The product is shipped with the special option to highlight menu items. This option is used in conjunction with the Additional
links to highlight field. To separate the first menu item, type |
Button | Description |
---|---|
Save | Saves the current changes. |
Apply | Saves the menu item parameters. Editing continues. |
Cancel | Cancels current changes. |
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |