We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29181
    • 480 Posts
    I’m a little confused when it comes to calling the Weblogin snippet (and others uncached). Now I used to be able to put

    [!WebLogin? &tpl=`FormLogin` &loginhomeid=`1`&logouthomeid=`1`!]


    and it would parse the snippet correctly. Now it just displays the above in the document.

    Calling

    [[WebLogin? &tpl=`FormLogin` &loginhomeid=`1`&logouthomeid=`1`]]
    does as I would expect. I’ve uncached the page and all is well.

    I can login OK, browse around a bit and then click logout which takes me to

    http://localhost/test/index.php?id=37&webloginmode=lo


    It logs me out as I would have hoped, but only in Firefox. In IE, it logs me out, but automatically logs me back in (at least that would appear to be the case as I get to see the log in form for about half a second then I’m back to the default you’re already logged in page). Could there be something in the script that is still being cached by IE, thus logging me back in immediately? Why can’t I call the snippet uncached :’(

    Has anybody else had any problems along these lines?

    I would really appreciate any help anyone can offer.

    Im using 0.9.6 locally and haven’t used an editor at all (so the call displayed is the call, no nasty &amps or the like).

    Taff
      Adrian Lawley: www.adrianlawley.com
      • 29181
      • 480 Posts
      Well the plot thickens, and has just baffled me more than ever.

      I have managed to get one of the snippets to actually work using [! !] It is a ditto snippet that I am calling on the front page of www.wssunaa.org

      The snippet is in actual fact embedded in a chunk so that I can use it again and again if I feel the need. What has me in a headlock with a sweaty armpit is that when I use the chunk elsewhere it doesn’t work.

      To compare the same chunk being called at

      http://www.wssunaa.org/

      &

      http://wssunaa.org/index.php?id=69

      Definately a huh Both documents having page caching turned off, and have never been touched with an RTE editor of any sort.

      Thanks to anyone who has seen the light and is willign to share...
      Taff
        Adrian Lawley: www.adrianlawley.com