[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_menus/presets/ -> default.xml (source)

   1  <?xml version="1.0"?>
   2  <menu
   3      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   4      xmlns="urn:joomla.org"
   5      xsi:schemaLocation="urn:joomla.org menu.xsd"
   6      >
   7      <menuitem
   8          type="component"
   9          title="MOD_MENU_CONTROL_PANEL"
  10          link="index.php"
  11          class="class:home"
  12          element="com_cpanel"
  13      />
  14  
  15      <menuitem
  16          title="COM_CONTENT_MENUS"
  17          type="heading"
  18          icon="file-alt"
  19          class="class:file-alt"
  20          dashboard="content"
  21          >
  22          <menuitem
  23              title="COM_CONTENT_MENUS_ARTICLE_MANAGER"
  24              quicktask-title="COM_CONTENT_MENUS_NEW_ARTICLE"
  25              type="component"
  26              element="com_content"
  27              link="index.php?option=com_content&amp;view=articles"
  28              quicktask="index.php?option=com_content&amp;task=article.add"
  29          />
  30  
  31          <menuitem
  32              title="COM_CONTENT_MENUS_CATEGORY_MANAGER"
  33              quicktask-title="COM_CONTENT_MENUS_NEW_CATEGORY"
  34              type="component"
  35              element="com_categories"
  36              link="index.php?option=com_categories&amp;view=categories&amp;extension=com_content"
  37              quicktask="index.php?option=com_categories&amp;extension=com_content&amp;task=category.add"
  38          />
  39  
  40          <menuitem
  41              title="COM_CONTENT_MENUS_FEATURED"
  42              type="component"
  43              element="com_content"
  44              link="index.php?option=com_content&amp;view=featured"
  45              class="class:featured"
  46          />
  47  
  48          <menuitem
  49              title="COM_CONTENT_MENUS_WORKFLOW"
  50              type="component"
  51              element="com_workflow"
  52              link="index.php?option=com_workflow&amp;view=workflows&amp;extension=com_content.article"
  53          />
  54  
  55          <menuitem
  56              type="separator"
  57          />
  58  
  59          <menuitem
  60              title="MOD_MENU_FIELDS"
  61              type="component"
  62              element="com_fields"
  63              link="index.php?option=com_fields&amp;view=fields&amp;context=com_content.article"
  64          />
  65  
  66          <menuitem
  67              title="MOD_MENU_FIELDS_GROUP"
  68              type="component"
  69              element="com_fields"
  70              link="index.php?option=com_fields&amp;view=groups&amp;context=com_content.article"
  71          />
  72  
  73          <menuitem
  74                  type="separator"
  75          />
  76  
  77          <menuitem
  78              title="MOD_MENU_MEDIA_MANAGER"
  79              type="component"
  80              element="com_media"
  81              link="index.php?option=com_media"
  82              class="class:image"
  83          />
  84  
  85          <menuitem
  86              title="MOD_MENU_EXTENSIONS_MODULE_MANAGER_SITE"
  87              quicktask-title="COM_CONTENT_MENUS_NEW_SITE_MODULE"
  88              type="component"
  89              element="com_modules"
  90              link="index.php?option=com_modules&amp;view=modules&amp;client_id=0"
  91              quicktask="index.php?option=com_modules&amp;view=select&amp;client_id=0"
  92          />
  93  
  94          <menuitem
  95              title="MOD_MENU_EXTENSIONS_MODULE_MANAGER_ADMINISTRATOR"
  96              quicktask-title="COM_CONTENT_MENUS_NEW_ADMIN_MODULE"
  97              type="component"
  98              element="com_modules"
  99              link="index.php?option=com_modules&amp;view=modules&amp;client_id=1"
 100              quicktask="index.php?option=com_modules&amp;view=select&amp;client_id=1"
 101          />
 102      </menuitem>
 103  
 104      <menuitem
 105          title="MOD_MENU_MENUS"
 106          type="heading"
 107          icon="list"
 108          class="class:list"
 109          dashboard="menus"
 110          >
 111          <menuitem
 112              title="MOD_MENU_MENU_MANAGER"
 113              type="component"
 114              element="com_menus"
 115              link="index.php?option=com_menus&amp;view=menus"
 116          />
 117  
 118          <menuitem
 119              type="separator"
 120          />
 121  
 122          <menuitem
 123              title="MOD_MENU_MENUS_ALL_ITEMS"
 124              type="component"
 125              element="com_menus"
 126              link="index.php?option=com_menus&amp;view=items&amp;menutype="
 127          />
 128  
 129          <!--
 130          Following is an example of repeatable group based on simple database query.
 131          This requires sql_* attributes (sql_select and sql_from are required)
 132          The values can be used like - "{sql:columnName}" in any attribute of repeated elements.
 133          The repeated elements are placed inside this xml node but they will be populated in the same level in the rendered menu
 134          -->
 135          <menuitem
 136              type="separator"
 137              title="JSITE"
 138              hidden="false"
 139              sql_select="a.id, a.title, a.menutype, CASE COALESCE(SUM(m.home), 0) WHEN 0 THEN '' WHEN 1 THEN CASE m.language WHEN '*' THEN 'class:icon-home' ELSE CONCAT('image:', l.lang_code) END ELSE 'image:mod_languages/icon-16-language.png' END AS icon"
 140              sql_from="#__menu_types AS a"
 141              sql_where="a.client_id = 0"
 142              sql_leftjoin="#__menu AS m ON m.menutype = a.menutype AND m.home = 1 LEFT JOIN #__languages AS l ON l.lang_code = m.language"
 143              sql_group="a.id, a.title, a.menutype, m.language, l.lang_code"
 144              sql_order="a.id DESC"
 145              >
 146              <menuitem
 147                  title="{sql:title}"
 148                  quicktask-title="MOD_MENU_MENU_MANAGER_NEW_SITE_MENU_ITEM"
 149                  type="component"
 150                  element="com_menus"
 151                  link="index.php?option=com_menus&amp;view=items&amp;menutype={sql:menutype}"
 152                  icon="{sql:icon}"
 153                  class="class:menu"
 154                  quicktask="index.php?option=com_menus&amp;task=item.add&amp;menutype={sql:menutype}"
 155              />
 156          </menuitem>
 157  
 158          <menuitem
 159              type="separator"
 160              title="JADMINISTRATOR"
 161              hidden="false"
 162              sql_select="title, menutype"
 163              sql_from="#__menu_types"
 164              sql_where="client_id = 1"
 165              sql_order="id DESC"
 166              >
 167              <menuitem
 168                  title="{sql:title}"
 169                  quicktask-title="MOD_MENU_MENU_MANAGER_NEW_ADMIN_MENU_ITEM"
 170                  type="component"
 171                  element="com_menus"
 172                  link="index.php?option=com_menus&amp;view=items&amp;menutype={sql:menutype}"
 173                  icon="{sql:icon}"
 174                  class="class:menu"
 175                  quicktask="index.php?option=com_menus&amp;task=item.add&amp;client_id=1&amp;menutype={sql:menutype}"
 176              />
 177          </menuitem>
 178      </menuitem>
 179  
 180      <menuitem
 181          title="MOD_MENU_COMPONENTS"
 182          type="container"
 183          class="class:puzzle-piece"
 184          dashboard="components"
 185      />
 186  
 187      <menuitem
 188          title="COM_USERS_MENUS_USERS"
 189          type="heading"
 190          icon="users"
 191          class="class:users"
 192          alias="users"
 193          dashboard="users"
 194          >
 195          <menuitem
 196              title="COM_USERS_MENUS_USER_MANAGER"
 197              quicktask-title="COM_USERS_MENUS_ADD_USER"
 198              type="component"
 199              element="com_users"
 200              link="index.php?option=com_users&amp;view=users"
 201              quicktask="index.php?option=com_users&amp;task=user.add"
 202          />
 203  
 204          <menuitem
 205              title="COM_USERS_MENUS_GROUPS"
 206              type="component"
 207              element="com_users"
 208              link="index.php?option=com_users&amp;view=groups"
 209          />
 210  
 211          <menuitem
 212              title="COM_USERS_MENUS_LEVELS"
 213              type="component"
 214              element="com_users"
 215              link="index.php?option=com_users&amp;view=levels"
 216          />
 217  
 218          <menuitem
 219              type="separator"
 220          />
 221  
 222          <menuitem
 223              title="MOD_MENU_FIELDS"
 224              type="component"
 225              element="com_fields"
 226              link="index.php?option=com_fields&amp;view=fields&amp;context=com_users.user"
 227          />
 228  
 229          <menuitem
 230              title="MOD_MENU_FIELDS_GROUP"
 231              type="component"
 232              element="com_fields"
 233              link="index.php?option=com_fields&amp;view=groups&amp;context=com_users.user"
 234          />
 235  
 236          <menuitem
 237              type="separator"
 238          />
 239  
 240          <menuitem
 241              title="COM_USERS_MENUS_NOTES"
 242              type="component"
 243              element="com_users"
 244              link="index.php?option=com_users&amp;view=notes"
 245          />
 246  
 247          <menuitem
 248              title="COM_USERS_MENUS_NOTE_CATEGORIES"
 249              type="component"
 250              element="com_categories"
 251              link="index.php?option=com_categories&amp;view=categories&amp;extension=com_users"
 252          />
 253  
 254          <menuitem
 255              type="separator"
 256          />
 257  
 258          <menuitem
 259              title="MOD_MENU_COM_PRIVACY"
 260              type="heading"
 261              icon="user-secret"
 262              class="class:privacy"
 263              dashboard="privacy"
 264              >
 265              <menuitem
 266                  title="MOD_MENU_COM_PRIVACY_REQUESTS"
 267                  type="component"
 268                  element="com_privacy"
 269                  link="index.php?option=com_privacy&amp;view=requests"
 270              />
 271  
 272              <menuitem
 273                  title="MOD_MENU_COM_PRIVACY_CAPABILITIES"
 274                  type="component"
 275                  element="com_privacy"
 276                  link="index.php?option=com_privacy&amp;view=capabilities"
 277              />
 278  
 279              <menuitem
 280                  title="MOD_MENU_COM_PRIVACY_CONSENTS"
 281                  type="component"
 282                  element="com_privacy"
 283                  link="index.php?option=com_privacy&amp;view=consents"
 284              />
 285          </menuitem>
 286  
 287          <menuitem
 288              title="MOD_MENU_COM_ACTIONLOGS"
 289              type="component"
 290              element="com_actionlogs"
 291              link="index.php?option=com_actionlogs&amp;view=actionlogs"
 292              class="class:userlogs"
 293          />
 294  
 295          <menuitem
 296              type="separator"
 297          />
 298  
 299          <menuitem
 300              title="MOD_MENU_MASS_MAIL_USERS"
 301              type="component"
 302              element="com_users"
 303              link="index.php?option=com_users&amp;view=mail"
 304              scope="massmail"
 305          />
 306  
 307          <menuitem
 308              title="MOD_MENU_MESSAGING"
 309              type="component"
 310              element="com_messages"
 311              link="index.php?option=com_messages"
 312              >
 313              <menuitem
 314                  title="MOD_MENU_MESSAGING_PRIVATE"
 315                  type="component"
 316                  element="com_messages"
 317                  link="index.php?option=com_messages&amp;view=messages"
 318                  quicktask="index.php?option=com_messages&amp;task=message.add"
 319              />
 320          </menuitem>
 321      </menuitem>
 322  
 323      <menuitem
 324          title="MOD_MENU_SYSTEM"
 325          type="component"
 326          element="com_cpanel"
 327          class="class:wrench"
 328          link="index.php?option=com_cpanel&amp;view=cpanel&amp;dashboard=system"
 329      />
 330  
 331      <menuitem
 332          title="MOD_MENU_HELP"
 333          type="component"
 334          element="com_cpanel"
 335          class="class:info-circle"
 336          link="index.php?option=com_cpanel&amp;view=cpanel&amp;dashboard=help"
 337      />
 338  </menu>


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer