"use strict";(self.webpackChunkfoo=self.webpackChunkfoo||[]).push([[638],{4288:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>s,default:()=>d,frontMatter:()=>r,metadata:()=>i,toc:()=>c});var o=n(5893),a=n(1151);const r={sidebar_position:2},s="Use first top menu app as default app",i={id:"FAQ/default-app",title:"Use first top menu app as default app",description:"You can easily let Custom Menu redirect to the first app in the top menu by changing the following parameter in your configuration:",source:"@site/docs/FAQ/default-app.md",sourceDirName:"FAQ",slug:"/FAQ/default-app",permalink:"/side_menu_doc/docs/FAQ/default-app",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/FAQ/default-app.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"How to replace Apporder?",permalink:"/side_menu_doc/docs/FAQ/apporder"},next:{title:"How to export the configuration?",permalink:"/side_menu_doc/docs/FAQ/export-config"}},p={},c=[];function u(e){const t={code:"code",h1:"h1",p:"p",pre:"pre",...(0,a.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"use-first-top-menu-app-as-default-app",children:"Use first top menu app as default app"}),"\n",(0,o.jsx)(t.p,{children:"You can easily let Custom Menu redirect to the first app in the top menu by changing the following parameter in your configuration:"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-php-inline",metastring:'title="config/config.php"',children:"'defaultapp' => 'side_menu',\n"})})]})}function d(e={}){const{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>i,a:()=>s});var o=n(7294);const a={},r=o.createContext(a);function s(e){const t=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),o.createElement(r.Provider,{value:t},e.children)}}}]);