We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27330
    • 884 Posts
    Quote from: dev_cw at Mar 14, 2008, 07:42 AM

    Pulled a few hairs on that one. After some research it turns out that the parameter is referenced by the $_GET rather that the $_REQUEST method on the other functions.

    Here is what you do, create a new plug-in and tick all of the events you want. THen simply copy this in to it:
    $_GET['stay'] = "2"; 
    $_REQUEST['stay'] = "2";



    this is awesome dev_cw I bet even you didn’t think it’s that simple wink
    thanks!
      • 7231
      • 4,205 Posts
      In retrospect it can be even simpler since you only need the $_GET statement since the $_REQUEST covers both $_GET and $_POST.

      I never get over all that can be done with MODx, plug-ins give you some great ways to manipulate things, and modules open up ways to add additional features...it is a great place to be grin
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 22770
        • 285 Posts
        One day I must learn plugins. This is most useful. No doubt by the time I get around to it, 0.9.7 will be upon us and I’ll have to learn it all over again... cool