We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23510
    • 168 Posts
    In my template I have

    [[$header? &slider=`slider-aboutus`]]


    I have that same code in multiple templates, changing the slider value. Multiple files are attached per template.

    Inside my header chunk, I call the name of the slider as follows:

    [[$[[*slider]]]]


    Shouldnt that pull in the $slider-aboutus chunk? I think it should. I tried different variations of uncached calls and the output is always blank.

    If I change the code above to

    [[$slider-aboutus]]


    It works but then I need the name of the chunk to be dynamic.

    Thanks in advance to anyone who can tell me what I'm missing.
    John
      • 23510
      • 168 Posts
      Neeveeermiiind....

      I needed to do this:

      [[$[[+slider]]]]