Hi,
I've got a usecase where I would like to reference nodes from SITE-B to nodes from SITE-A. The sites are NOT a multisite-setup. At the moment I just use a textfield and enter NIDs of SITE-B and then use the template to load the needed node-data from SITE-B (via file_get_contents() and component). This works but I need a better user-interface (e.g. would like to use the autocomplete widget to reference the nodes).
Could this somehow be done- with a custom module maybe?
Any hint appreciated!
TOM
Comments
Comment #1
mattcasey commentedFor the record, I've never done anything like this. Perhaps you could create a feed on Site A using Views to give you a list of all node id's. Or research REST - probably wouldn't be hard to set up a quick menu_callback that returns all node id's. It looks like you might be able to combine this with http://drupal.org/project/autocomplete_widgets. I would also consider security issues, but I'm not skilled enough to suggest what weaknesses would exist.