We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 53091
    • 8 Posts
    Hi all

    I recently have upgraded to EVO 1.2. And if I understood it right, there comes an upgrade of the JOT snippet with it.

    My template looks like this:
    ------
    <li style="width:[+SubMenuWidth+]px;" [+wf.classes+]><a href="[+wf.link+]" [[+wf.attributes]]><img src="assets/images/thmbnews/[+wf.docid+].png" alt="o" >


    [+wf.linktext+]</a>
    <li>
    [+wf.wrapper+]
    -------
    The goal is to show different Icons with the name of the ID of the document. But with the new JOT, I didn't get the docid Value back, just an empty value. Some other variables didn't work too anymore. When I downgrade to the older JOT snippet, everything works fine. Unfornately I'm a very bad programmer, so I'm unable to find the problem myself.

    Is there a workaround for this?

    Thanks

    Lars
    • [[+wf.attributes]]

      maybe typo?
        • 53091
        • 8 Posts
        Quote from: yama at Dec 20, 2016, 03:13 AM
        [[+wf.attributes]]

        maybe typo?

        This one wf.attributes shure - but not [+wf.docid+]
          • 53091
          • 8 Posts
          Quote from: larssch at Dec 20, 2016, 07:26 AM
          Quote from: yama at Dec 20, 2016, 03:13 AM
          [[+wf.attributes]]

          maybe typo?

          This one wf.attributes shure - but not [+wf.docid+]

          yama, you are wonderful!!!!

          I didn't understand it, but after fixing the wrong wf.attributes, the wf.docid results the correct value...
            • 53091
            • 8 Posts
            Quote from: larssch at Dec 20, 2016, 07:26 AM
            Quote from: yama at Dec 20, 2016, 03:13 AM
            [[+wf.attributes]]

            maybe typo?

            This one wf.attributes shure - but not [+wf.docid+]

            yama, you are wonderful!!!!

            I didn't understand it, but after fixing the wrong wf.attributes, the wf.docid results the correct value...

            Thank you very much!