We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13610
    • 52 Posts
    Probably not the right way, but if I call my container like this:

    schedule/&COMPALPHA=A&END=END then it works.

    I had to put the &END=END on the end of the querystring, because the URL getting rewritten as schedule/&COMPALPHA=A/ and then I would have to write some PHP to strip the slash off of the &COMPALPHA=A/.

    I don’t care about the parameter END so it is fine that it is getting the END/ added to it.

    ORIGINAL POST BELOW

    The Container’s name is schedule

    I tried calling it as a page by passing the querystring to schedule.html?COMPALPHA=A but the page cannot be found.

    I tried passing it as schedule/?COMPALPHA=A

    The problem is that although set as a container, our users have populated it with content as they want OURSITE.COM/schedule/ to display content if it was loading an index.php file in that folder.

    Is there a way to set a default page to display for a container, so that I can pass querystrings to schedule/defaultpage.php?COMPALPHA=A and have it work.

    Thanks in Advance,

    Jason
      Jason Buck
      • 577
      • 132 Posts
      I can’t seem to get my head around what you have done here. Maybe I am just not understanding. A Container can have content and thus be a resource and a container at the same time. The QueryString is still accessible as well.

      http://domain.com/container/?adam=smith

      then put the snippet [[printRequest]] in the content area

      Wit the snippet code being
      var_dump($_REQUEST);die;
      


      result
      array(2) { ["q"]=> string(11) "size-chart/" ["adam"]=> string(5) "smith" }
      


      Maybe if I understood I could help with a clean solution
        "One of these days I will get around to my own website... Its only been about 12 years... maybe tomorrow smiley"