title: Insert additional menu elements to a specific place with typoscript
body: <p>Hi I like to add some additional menu items to a defined mainmenu.
  Here is my attempt: </p>
  
  <pre><code>[PIDinRootline = 18]
  lib.mainmenu.1 {
      ACT = 1
      ACT{
              after.cObject = HMENU
              after.cObject &lt; lib.catmenu
      }
  }
  [END]
  </code></pre>
  
  <p>well working so far, but the menu items are only showing up when the page 18 is active. I'd like them to be allways visible.</p>
  
  <p>Any Idea?</p>
  
  <p><strong>further information:</strong>
  my menus</p>
  
  <pre><code>lib.catmenu = HMENU
  lib.catmenu{
      1 = TMENU
      1 {
              wrap = &lt;div class="megamenu-dropdown"&gt;&lt;ul class="level0"&gt; | &lt;/ul&gt;&lt;/div&gt;
              expAll = 1
              noBlur = 1
              NO = 1
              NO.wrapItemAndSub = &lt;li class="level1 nav-1-1 default"&gt; | &lt;/li&gt;
              ACT = 1
              ACT.wrapItemAndSub = &lt;li class="level1 nav-1-1 active"&gt; | &lt;/li&gt;
      } 
  }
  
  
  lib.mainmenu = HMENU
  lib.mainmenu{
  entryLevel = 0
  1 = TMENU
  1{
          expAll = 1
      wrap = &lt;ul id="nav"&gt; | &lt;/ul&gt;
      noBlur = 1
      NO = 1
      NO {
          wrapItemAndSub = &lt;li class="level0 nav-1 level-top default"&gt; | &lt;/li&gt;
          stdWrap.htmlSpecialChars = 1
          ATagTitle.field = title
      }
      IFSUB = 1
      IFSUB{
              wrapItemAndSub = &lt;li class="level0 nav-1 level-top default parent"&gt; | &lt;/li&gt;
                      stdWrap.htmlSpecialChars = 1
                      ATagTitle.field = title
      }
      ACT = 1
      ACT{
                      wrapItemAndSub = &lt;li class="level0 nav-1 level-top default active"&gt; | &lt;/li&gt;
              }
  }
  </code></pre>
  
  <p><strong>edit:</strong>
  Thanks for the responses.
  I try to make my question more understandable.</p>
  
  <p>This is how my menu usually looks like </p>
  
  <pre><code>- home
  - shop
  - news
    - test
      - subtest
  </code></pre>
  
  <p>This is how my menu looks like when I open the page with id 18</p>
  
  <pre><code>- home
  - shop
    - cat1
    - cat2
  - news
    - test
      - subtest
  </code></pre>
  
  <p>This is how I want my menu allways looks like</p>
  
  <pre><code> - home
   - shop
     - cat1
     - cat2
   - news
     - test
       - subtest
  </code></pre>
  
  <p>When I remove the condition [PIDinRoorline = 18] then typo3 has no Idea where to add the additional menu Items. The result is: (I've also changed ACT to NO)</p>
  
  <pre><code> - home
        - cat1
        - cat2
      - shop
        - cat1
        - cat2
      - news
        - cat1
        - cat2
        - test
          - subtest
  </code></pre>
  
  <p>So is there any way to say typoscript. "Put my additional menu Items to a specific place"</p>
  
  <p>Thanks for your help!
  Cheers</p>