MX Tree Menu Forum :: Pass Parameters in Static Menu?

This thread was displayed: 458 times

Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/


View All View Non Threaded Newest first
  • 10-29-2006 23:34:52 GMT +2 John Groh

    Hi all,

    I have used the static tree menu on a project and I want to pass an id from my database to the linked page (i.e. ../index.php?mod=rates&id_usr=<?php echo $row_rsUser['id_usr']; ?>) but it gives me an error. I need to pass this parameter because it will then display the correct info on the following page. Can I do this and if so, how?

    • 10-30-2006 12:40:44 GMT +2 Razvan Racasanu [InterAKT]Adobe Systems Romania staff

      Hello,

      In the code view, try to write the following:

      $TreeMenu1->addItem("Rates", "../index.php?mod=rates&id_usr=" . $row_rsUser['id_usr'], "Rates", "_self");

      You also must make sure that the recordset is made before the menu.

      Regards,
      Razvan RACASANU

      • 10-30-2006 15:33:55 GMT +2 John Groh
        Thank you Razvan! Worked like... View more

        Thank you Razvan!

        Worked like a charm.

© Adobe Systems Romania. All rights reserved.