Having a little issue and thought I would make a proper thread instead of a massive twitter conversation!
I have website a, and I have website b, both on an installtion of MODX.
On Website B, I am doing a get resources call to resources that are under Website A.
When these are rendered to the screen on Website B, i want to make a direct link, to the resource on Website A.
By doing a
It returns www.
websiteb.com/resource, instead I would like www.
websitea.com/resource
I have tried the following, with no success
[[~[[+id]]? &scheme=`full`]]
And even the api method.
<?php
$id = ID OF RESOURCE
#context = KEY OF CONTEXT
$url = $modx->makeUrl($id, $context, '', 'full');
return $url;
Thanks in advance!