I’ve got a small MSM setup running, with entries from Site A having a nGen File field, and entries from Site B having a relationship field connecting them to Site A’s entries.
The issue arises when I want to display a link on Site B to the file specified in Site A’s nGen File field. The nGen File fieldtype outputs a relative path to the file, eg. /uploads/file.pdf - without any domain information. So obviously on Site B, I end up with a link to http://www.siteb.com/uploads/file.pdf, which doesn’t exist.
I’ve tried specifying the site manually by using the {path='siteA:foo/bar'} tag in the same manner in which the {embed='siteA:foo/bar'} tag can be told which site to use, but that function evidently is not included. Obviously I could hard-code the proper domain, but I’d rather not if I can help it. Any suggestions?