Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

How to display owner links from a second installation

Quote Reply
How to display owner links from a second installation
I'm struggling a bit here.

I have 2 copies of links tied together with community.

I want to display the owners links from one installation on their detailed page in the other installation.

So far I have found a global to display an owners links on the detailed page with

Code:
sub {
my $user = $_[0];
my $sth = $DB->table('Links')->select( { LinkOwner => $user, isValidated => 'Yes' } ) || return $GT::SQL::error;
my $back; while (my $hit = $sth->fetchrow_hashref) { $back .= Links::SiteHTML::display('link', $hit); } return $back; }



and this displays the owners link fine but of course from the wrong installation.

I have spent a couple of hours searching but can't find an answer that works to pull the links from the other installation.
The two installations are on the same domain.

Any help would be appreciated as I'm not an expert in perl :(

Cheers

Andy
Subject Author Views Date
Thread; hot thread How to display owner links from a second installation chapelier 12457 Jul 18, 2008, 6:14 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 12218 Jul 18, 2008, 6:41 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 12226 Jul 18, 2008, 7:14 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 12185 Jul 18, 2008, 7:23 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 12218 Jul 18, 2008, 8:06 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 12239 Jul 18, 2008, 8:12 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 12220 Jul 18, 2008, 8:28 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 12240 Jul 18, 2008, 8:31 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 12264 Jul 18, 2008, 8:39 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 12216 Jul 18, 2008, 8:40 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 12220 Jul 18, 2008, 8:55 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 12250 Jul 18, 2008, 9:00 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 12192 Jul 18, 2008, 9:04 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 12226 Jul 18, 2008, 9:11 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 12222 Jul 18, 2008, 9:45 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 12191 Jul 18, 2008, 9:49 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 12195 Jul 18, 2008, 9:57 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 12230 Jul 18, 2008, 10:02 AM
Post; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 12162 Jul 18, 2008, 10:08 AM