Hi,
I'm trying to figure out how multiple context can use 1 resource without having to create a unique resource within each context.
Example:
www.web.com\resource1
The url www.context123.com\resource1 should display the same page as
www.web.com\resource1 without having to create resource1 in this and any other context i make.
Hope someone can help!
Gr,
Erwin
You can use a weblink or symlink for the resource in the second context.
Hi Bob,
How about if you have 2 different templates on each context:
www.web.com\resource1 - using template 1
www.context123.com\resource1 - template 2
Do you think those that resource1 will use the same template?
Thanks!
You might be able to use an actual page for the second one with a snippet using $modx->sendForward('url/of/first/page').
IIRC, sendForward() will use the template of the page with the snippet tag. You could use URI and Freeze URI on the second page to set the URL of the displayed page.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
Everettg_99, BobRay,
Thanks for your suggestions, i will try this and keep you inform what would be the result.