{"id":561,"date":"2021-10-05T09:49:45","date_gmt":"2021-10-05T09:49:45","guid":{"rendered":"https:\/\/cinnk.com\/index.php\/2021\/10\/05\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/"},"modified":"2021-10-05T09:49:45","modified_gmt":"2021-10-05T09:49:45","slug":"the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website","status":"publish","type":"post","link":"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/","title":{"rendered":"The importance of the menu item in the functioning of your Joomla! website"},"content":{"rendered":"<p>In this article we will explain the importance of the <strong>menu item<\/strong> in the functioning of your <strong>Joomla!<\/strong> website.<\/p>\n<p><!--more--><br \/>\nThe importance of the menu item in the functioning of Joomla!                In this article we will explain the importance of the menu item in the functioning of your Joomla! website.                             If there&rsquo; s anything essential in Joomla, it&rsquo;s the menu link! To better understand its importance, here is a small computer graphic that shows very schematically what happens when an article is called up in Joomla! [To simplify, we have removed the management of languages and other small details&#8230;]<\/p>\n<p>The call of the content<br \/>\nThis one is far from going in a brutal azimuth, it will glean on its way the different elements that will constitute the page. Because as you know, the pages of your website do not exist as such, but are constituted when they are called up<br \/>\nIf I call up the updated page of my website, via a category blog type menu link, set to display one full-width article and two introductions, displayed by date, the last three articles will be displayed on the page. But if I only have two articles available, the page will only display two articles. This is a miracle of the CMS which builds pages according to my request and to what can answer it !<br \/>\nOne call, serval possibilites<br \/>\nThere are three possible scenarios :<\/p>\n<p>There is a menu link<\/p>\n<p>There is a related menu link<\/p>\n<p>There is no menu link<\/p>\n<p> In case A, the call is made directly through a menu link and we therefore have the so-called itemid. This is the unique numerical identifier of the menu link in the database. Joomla will then look for what is assigned to this menu link: template, modules, etc.<br \/>\n In case B, the call is made by a read more for example. Since there is no itemid at the start of the call, Joomla will search for a menu link in the database to the called item, or even a link to the item&rsquo;s category. As there is a \u00ab\u00a0news\u00a0\u00bb menu link which leads to this category, Joomla will therefore look for what is assigned to this menu<br \/>\n In case C, we have neither a menu link at the beginning, nor a related menu link. So what will Joomla do? The answer is simple: it will use the original ItemId of the page where the click occurred! Joomla will therefore display the article in the page layout that is the one of the call page.<br \/>\nThis explains why my pretty slider module, which is only assigned to the home page, is still there when you click on the read more article on the home page. This article and its category are not served by another menu link: Joomla remains in the existing layout when clicked.             On the way to the page rendering<\/p>\n<p>Click from: A a menu link, B a read more with a related menu link or C a list of items.<br \/>\nThe database is queried.<br \/>\nRetrieve the template assigned to the ItemId.<br \/>\nExtract the module publication positions from the template.<br \/>\nRetrieve the published modules, with verification of rights, on this ItemId.<br \/>\nWe retrieve the content of the article, with verification of the reading rights.<\/p>\n<p>And we display the page as it should be.<\/p>\n<p> How can this problem be solved ? It&rsquo;s very simple, by creating a menu link to the category in a menu different from the main menu, a menu which may not be displayed and which is only used to manage module and template assignments.                          Cr\u00e9dits photo<br \/>\nPhoto de Clem Onojeghuo provenant de Pexels<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article we will explain the importance of the menu item in the functioning of your Joomla! website.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[18],"tags":[],"class_list":["post-561","post","type-post","status-publish","format-standard","hentry","category-articles-en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The importance of the menu item in the functioning of your Joomla! website | Cinnk<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The importance of the menu item in the functioning of your Joomla! website | Cinnk\" \/>\n<meta property=\"og:description\" content=\"In this article we will explain the importance of the menu item in the functioning of your Joomla! website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/\" \/>\n<meta property=\"og:site_name\" content=\"Cinnk\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Cinnk.formation\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-05T09:49:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cinnk.com\/wp-content\/uploads\/2024\/10\/Logo-font.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Cinnk\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CinnkCom\" \/>\n<meta name=\"twitter:site\" content=\"@CinnkCom\" \/>\n<meta name=\"twitter:label1\" content=\"\u00c9crit par\" \/>\n\t<meta name=\"twitter:data1\" content=\"Cinnk\" \/>\n\t<meta name=\"twitter:label2\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/\"},\"author\":{\"name\":\"Cinnk\",\"@id\":\"https:\/\/cinnk.com\/fr\/#\/schema\/person\/eacaed860bb77e88b654cab0718cdc3d\"},\"headline\":\"The importance of the menu item in the functioning of your Joomla! website\",\"datePublished\":\"2021-10-05T09:49:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/\"},\"wordCount\":620,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cinnk.com\/fr\/#organization\"},\"articleSection\":[\"Articles En\"],\"inLanguage\":\"fr-FR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/\",\"url\":\"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/\",\"name\":\"The importance of the menu item in the functioning of your Joomla! website | Cinnk\",\"isPartOf\":{\"@id\":\"https:\/\/cinnk.com\/fr\/#website\"},\"datePublished\":\"2021-10-05T09:49:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/cinnk.com\/fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The importance of the menu item in the functioning of your Joomla! website\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cinnk.com\/fr\/#website\",\"url\":\"https:\/\/cinnk.com\/fr\/\",\"name\":\"Cinnk\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/cinnk.com\/fr\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cinnk.com\/fr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/cinnk.com\/fr\/#organization\",\"name\":\"Cinnk\",\"url\":\"https:\/\/cinnk.com\/fr\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/cinnk.com\/fr\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cinnk.com\/wp-content\/uploads\/2023\/10\/logo-svg-orange_new.svg\",\"contentUrl\":\"https:\/\/cinnk.com\/wp-content\/uploads\/2023\/10\/logo-svg-orange_new.svg\",\"width\":125,\"height\":32,\"caption\":\"Cinnk\"},\"image\":{\"@id\":\"https:\/\/cinnk.com\/fr\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Cinnk.formation\",\"https:\/\/x.com\/CinnkCom\",\"https:\/\/www.instagram.com\/cinnk\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/cinnk.com\/fr\/#\/schema\/person\/eacaed860bb77e88b654cab0718cdc3d\",\"name\":\"Cinnk\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/cinnk.com\/fr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2110805a2e278c633c677ec50fd5a9944d8f66b4fac05f86ebb21a2f87be8e0b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2110805a2e278c633c677ec50fd5a9944d8f66b4fac05f86ebb21a2f87be8e0b?s=96&d=mm&r=g\",\"caption\":\"Cinnk\"},\"sameAs\":[\"https:\/\/cinnk.com\"],\"url\":\"https:\/\/cinnk.com\/fr\/author\/cinnkdev\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The importance of the menu item in the functioning of your Joomla! website | Cinnk","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/","og_locale":"fr_FR","og_type":"article","og_title":"The importance of the menu item in the functioning of your Joomla! website | Cinnk","og_description":"In this article we will explain the importance of the menu item in the functioning of your Joomla! website.","og_url":"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/","og_site_name":"Cinnk","article_publisher":"https:\/\/www.facebook.com\/Cinnk.formation","article_published_time":"2021-10-05T09:49:45+00:00","og_image":[{"width":500,"height":500,"url":"https:\/\/cinnk.com\/wp-content\/uploads\/2024\/10\/Logo-font.jpg","type":"image\/jpeg"}],"author":"Cinnk","twitter_card":"summary_large_image","twitter_creator":"@CinnkCom","twitter_site":"@CinnkCom","twitter_misc":{"\u00c9crit par":"Cinnk","Dur\u00e9e de lecture estim\u00e9e":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/#article","isPartOf":{"@id":"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/"},"author":{"name":"Cinnk","@id":"https:\/\/cinnk.com\/fr\/#\/schema\/person\/eacaed860bb77e88b654cab0718cdc3d"},"headline":"The importance of the menu item in the functioning of your Joomla! website","datePublished":"2021-10-05T09:49:45+00:00","mainEntityOfPage":{"@id":"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/"},"wordCount":620,"commentCount":0,"publisher":{"@id":"https:\/\/cinnk.com\/fr\/#organization"},"articleSection":["Articles En"],"inLanguage":"fr-FR"},{"@type":"WebPage","@id":"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/","url":"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/","name":"The importance of the menu item in the functioning of your Joomla! website | Cinnk","isPartOf":{"@id":"https:\/\/cinnk.com\/fr\/#website"},"datePublished":"2021-10-05T09:49:45+00:00","breadcrumb":{"@id":"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cinnk.com\/fr\/the-importance-of-the-menu-item-in-the-functioning-of-your-joomla-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/cinnk.com\/fr\/"},{"@type":"ListItem","position":2,"name":"The importance of the menu item in the functioning of your Joomla! website"}]},{"@type":"WebSite","@id":"https:\/\/cinnk.com\/fr\/#website","url":"https:\/\/cinnk.com\/fr\/","name":"Cinnk","description":"","publisher":{"@id":"https:\/\/cinnk.com\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cinnk.com\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/cinnk.com\/fr\/#organization","name":"Cinnk","url":"https:\/\/cinnk.com\/fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/cinnk.com\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/cinnk.com\/wp-content\/uploads\/2023\/10\/logo-svg-orange_new.svg","contentUrl":"https:\/\/cinnk.com\/wp-content\/uploads\/2023\/10\/logo-svg-orange_new.svg","width":125,"height":32,"caption":"Cinnk"},"image":{"@id":"https:\/\/cinnk.com\/fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Cinnk.formation","https:\/\/x.com\/CinnkCom","https:\/\/www.instagram.com\/cinnk"]},{"@type":"Person","@id":"https:\/\/cinnk.com\/fr\/#\/schema\/person\/eacaed860bb77e88b654cab0718cdc3d","name":"Cinnk","image":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/cinnk.com\/fr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2110805a2e278c633c677ec50fd5a9944d8f66b4fac05f86ebb21a2f87be8e0b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2110805a2e278c633c677ec50fd5a9944d8f66b4fac05f86ebb21a2f87be8e0b?s=96&d=mm&r=g","caption":"Cinnk"},"sameAs":["https:\/\/cinnk.com"],"url":"https:\/\/cinnk.com\/fr\/author\/cinnkdev\/"}]}},"_links":{"self":[{"href":"https:\/\/cinnk.com\/fr\/wp-json\/wp\/v2\/posts\/561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cinnk.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cinnk.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cinnk.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cinnk.com\/fr\/wp-json\/wp\/v2\/comments?post=561"}],"version-history":[{"count":0,"href":"https:\/\/cinnk.com\/fr\/wp-json\/wp\/v2\/posts\/561\/revisions"}],"wp:attachment":[{"href":"https:\/\/cinnk.com\/fr\/wp-json\/wp\/v2\/media?parent=561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cinnk.com\/fr\/wp-json\/wp\/v2\/categories?post=561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cinnk.com\/fr\/wp-json\/wp\/v2\/tags?post=561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}