[All Adaptavist Apps]
...
In the example above, "stuff to show" would only be shown if the content is being shown in "view" or "edit" mode and is also either a "page" or "blogpost".
...
You can determine the context and mode for any page by viewing the page source using your browser. A HTML comment output at the top of all pages shows the context and mode for each page.
You can specify multiple contexts and modes by separating them with commas as shown in the usage example earlier. For the macro content to show, all contexts and modes specified must match.
Some common contexts and modes are listed below, along with the associated menulink macro settings to create links to them.
All of these modes have a context of page and apply when working with content pages (including the Space home page):
Mode | Notes | Menulink |
---|---|---|
view | Normal view of a page, including when adding comments to a page |
|
edit | Edit view of an existing page (see space-pages context for details of adding or copying pages). |
|
view-attachments | Viewing attachments on a page. |
|
view-information | Displaying page information. |
|
This mode relates to the view of recent blogposts in a space:
Mode | Notes | Menulink |
---|---|---|
view-blogposts | List of recent blogposts in a space. |
|
All of these modes have a context of space-labels and relate to the label views within spaces.
Mode | Notes | Menulink |
---|---|---|
view-labels-popular | View popular labels |
|
view-labels-all | View all labels |
|
This mode applies to the index of attachments within a space:
Mode | Notes | Menulink |
---|---|---|
view-attachments | Index of space attachments. |
|
All space administration pages have a single mode as far as we can tell:
Mode | Notes | Menulink |
---|---|---|
view-space-administration | Any page within space admin area, regardless of whether you are viewing or editing, etc. |
|
All of these modes have a context of space-pages and apply to standard space features such as the alphabetical index and site map.
Mode | Notes | Menulink |
---|---|---|
create-page | Applies when creating a new page or copying an existing page. |
|
list-recently-updated | List of recently updated pages. |
|
list-alphabetically | Alphabetical page index. |
|
list-content-tree | Site map (i.e. pages tree view). |
|
These modes relate to global (outside a space) locations:
Mode | Notes | Menulink |
---|---|---|
rss | RSS Feed Builder |
|
Expand | ||||
---|---|---|---|---|
| ||||
|
You can specify multiple contexts and modes by separating them with commas as shown in the usage example earlier. For the macro content to show, all contexts and modes specified must match.more to follow
Expand | ||||
---|---|---|---|---|
| ||||
|
...