Hello,
I am thinking about how to get aliasmap from specific context, not the current context.
Do I have to use cacheManager?
Thank you for your tipp in advance.
Best regards
Chris
Hello,
I am thinking about how to get aliasmap from specific context, not the current context.
Do I have to use cacheManager?
Thank you for your tipp in advance.
Best regards
Chris
What exactly are you trying to do?
I believe you can just load the context and then access the aliasMap:
$ctx = $modx->getContext('your_context_key');
$ctx->aliasMap;
oh thank you. so easy.
Many thanks.
regards