You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/using-core-functions/dashboard.md
+12-14Lines changed: 12 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,17 +13,17 @@ This is done in the manifest file:
13
13
Add a dashboard to your component:
14
14
==================================
15
15
16
-
A parameter < dashboard > expands the menu entry with link to a dashboard for your component. You can give this dashboard any name you want, but <strong> Note:</strong> use lowercase and only "-", never underscore for the dashboard name.
16
+
A parameter "dashboard" expands the menu entry to your component with a link to a dashboard. You can give this dashboard any name you want, but <strong> Note:</strong> use lowercase and only "-", never underscore for the dashboard name.
17
17
my-example or example are correct, my_example, Com-MY_EXAMPLE are wrong.
18
18
19
-
The param < dashboard >
19
+
The param dashboard
20
20
- will make a dashboard icon appear next to the administrator menu item for the component
21
21
- The dashboard icon will click through to display modules assigned to the cpanel-example administrator module position
22
22
- The title and icon defined in the XML file will be used as the header and icon at the top of the component's dashboard page.
23
23
24
24
```xml title="Dashboard Link "
25
25
<administration>
26
-
<menuimg="class:calendar">
26
+
<menu>>
27
27
COM_EXAMPLE
28
28
<params>
29
29
<dashboard>example</dashboard>
@@ -41,27 +41,25 @@ Give your dashboard a name and an icon. Add this to your manifest file:
In general, a component has has one or more links to its views.They are defined in the manifest file and is added into the menu during installation.
4
+
In general, a component has has one or more links to its views.They are defined in the manifest file and added to the menu during installation.
5
5
6
6
```xml title="A link to your component "
7
7
<administration>
8
-
<menuimg="class:calendar">
8
+
<menu>
9
9
COM_EXAMPLE
10
10
</menu>
11
11
12
12
[..]
13
13
</administration>
14
14
```
15
-
Sometimes it is useful to add so called <strong>quicktask link</strong> which enables an action calling from the menu without first visiting the Overview.
15
+
Sometimes it is useful to add a so called <strong>quicktask link</strong> which enables an action calling from the menu without first visiting the Overview.
16
16
You can see this for Joomla core components, for example articles in com_content, here the quicktask is the plus icon and lets you add a new article in a single click.
17
17
Your menu link is added in the manfest file during installation.
18
18
@@ -22,9 +22,9 @@ A quicktask link and icon are added as params to a menu item.
0 commit comments