We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26695
    • 2 Posts
    Hello,
    I want to add ?item variable and load own content from database for example, where I should read about it?
    thanks for help

      • 22303 MODX Staff
      • 10,725 Posts
      Quote from: seraphim at Nov 13, 2008, 04:17 AM

      Hello,
      I want to add ?item variable and load own content from database for example, where I should read about it?
      thanks for help
      If you know how to write a snippet, simply check if $_GET[’item’] is set and if so do something, like read the data from the database and output it, or send the data to placeholders that can be placed in the page content.
        • 26695
        • 2 Posts
        Quote from: OpenGeek at Nov 13, 2008, 12:43 PM

        If you know how to write a snippet, simply check if $_GET[’item’] is set and if so do something, like read the data from the database and output it, or send the data to placeholders that can be placed in the page content.
        oh thank you a lot smiley it’s always hard to start