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

    I’m porting our site to Revo, just to test its potential.

    With 0.9.6.3, I made a little snippet that uses MODx API, in particular these three methods:

    $modx->getParentIds

    $modx->documentIdentifier

    $modx->runSnippet

    I tried to read the documentation from http://docs.modxcms.com/ but I didn’t understand a thing laugh

    Thanks in advance!
      • 22303 MODX Staff
      • 10,725 Posts
      Those API methods have not changed, though it would be prudent to change $modx->documentIdentifier to $modx->resourceIdentifier (though both should work in most cases).
        • 25260
        • 156 Posts
        Hi, I found the problem with my snippet.

        The Evolution version of UltimateParent has got a parameter called TopLevel, the Revolution version hasn’t got it. I need that parameter tongue

        Do you know if is it going to be implemented or do I have to change my snippet to adapt it to the new UltimateParent?

        Thanks for the answers.
          • 22303 MODX Staff
          • 10,725 Posts
          Quote from: Roberto at Jun 19, 2009, 02:43 AM

          Hi, I found the problem with my snippet.

          The Evolution version of UltimateParent has got a parameter called TopLevel, the Revolution version hasn’t got it. I need that parameter tongue

          Do you know if is it going to be implemented or do I have to change my snippet to adapt it to the new UltimateParent?

          Thanks for the answers.
          Just an oversight; we’ll take a look and add it to the Revo version.