We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12793
    • 293 Posts
    but if I’ve a start page (an .html page)

    I insert these two tags

    <a href="[[~2]]">Go to our product line one</a>
    <a href="[[~3]]">Go to our product line two</a>


    how can I open the right index.php page????

    I’ve tried with:
    <a href="index.php?[[~3]]">Go to our product line one</a>


    but I don’t show menu


    :(



      • 22427
      • 793 Posts
      Obviously you misunderstand something. You do not have to insert index.php? by yourself.
      If you put the link
      <a href="[[~2]]">Go to our product line one</a>
      in your template, running the preview and hovering the mouse over Go to our product line one will show you in the statusline that MODx automatically creates this link:
      http://www.example.com/index.php?id=3
      - the work is done by MODx! That is, essentially, the reason why you use a CMS...
        • 12793
        • 293 Posts
        Ok! I think that your solutin could work:

        http://www.domain.com/index.php?id=2
        http://www.domain.com/index.php?id=3

        and I show 2 differents menu

        but if I select another link, for example and item of menu ... I lose my menu because index page doesn’t have the id=X value

        can I resolve this?

        Thanks
          • 12793
          • 293 Posts
          Pleeeeeease help me!!!!
            • 12793
            • 293 Posts
            :(((


            up up up
              • 12793
              • 293 Posts
              Please someone can help me to create right menu structure??

              Now When I select an item in menu I don’t show right menu!