subsite_navigation::define_pageflow (public)
subsite_navigation::define_pageflow [ -subsite_id subsite_id ] \ [ -show_applications_p show_applications_p ] \ [ -no_tab_application_list no_tab_application_list ] \ [ -initial_pageflow initial_pageflow ] \ [ -navigation_multirow navigation_multirow ] [ -group group ] \ [ -subgroup subgroup ] [ -include_all ]
Defined in packages/acs-subsite/tcl/subsite-navigation-procs.tcl
Defines the page flow of the subsite. This sets up a navigation multirow as defined by the default master installed by openacs, which renders it as one or more rows of tabs. The standard CSS defines classes for two rows of tabs, if you want more, you must define your own CSS classes. If the navigation multirow doesn't exist, we create it.
- Switches:
- -subsite_id (optional)
- The package id of the subsite we're interested in (defaults to current)
- -show_applications_p (optional, defaults to
"1"
)- If true, autogenerate tabs for applications (not declared boolean because the tabbed master takes this from a package parameter)
- -no_tab_application_list (optional)
- A list of application package keys to ignore when autogenerating tabs for applications
- -initial_pageflow (optional)
- Add these subsections before computing the rest of the page flow
- -navigation_multirow (optional, defaults to
"navigation"
)- The name of the multirow used to build the nav bars
- -group (optional, defaults to
"main"
)- Group name for the primary section
- -subgroup (optional, defaults to
"sub"
)- Group name for the subsection (opened under a selected tab)
- -include_all (optional, boolean, defaults to
"false"
)- Per default, only the subgroup of the currently selected top menu is return. When -include_all is specified, the resulting multirow contains all subgroups (useful for pull-down menus)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.