I am trying to find a way in a snippet to figure out a docid from a FURL. I just want to make sure it is there before sending a link. If it doesn’t exist, I would go up the chain until I reach a page that actually exists. Make any sense?
What I am trying to do is move from one master folder to another directly. The structure SHOULD be the same, but I want to check first.
Thanks
Just learning the ropes.
Hi,
did you try with $modx->aliasMap ?
From the aliasMap array you can get the doc id and then find its parent .
:-)