We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 509
    • 93 Posts
    Hello,

    This string

    [+as.showForm:is=`1`:then=`


    Is displayed just before the search form and after I can see

    `+] 


    This can be seen on the first load of a page. Once the page is in the cache I don’t see that anymore. I saw that string comes from the template file of ajaxSearch named layout.tpl.html

    If I remove these 2 pieces of code, this problem disappears.

    Do you know what happen?

    Thanks
      • 5811
      • 1,717 Posts
      This can be seen on the first load of a page. Once the page is in the cache I don’t see that anymore. I saw that string comes from the template file of ajaxSearch named layout.tpl.html

      It’s not normal that you see [+as.showForm:is=`1` on your page. This means that the extended placeholders (Phx) have not been correctly interpreted. Do you change the layout.tpl.html ?

      Happy Christmas - Joyeux Noël
        • 509
        • 93 Posts
        Hi,

        I have retried to upload the file layout.tpl.html from the last modx.0.9.6.3 and I still have this problem. I have 3 installations of MODx and it is the only one where I see that undecided

        Happy end of year !