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 11122 Jul 18, 2008, 6:14 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 10909 Jul 18, 2008, 6:41 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 10917 Jul 18, 2008, 7:14 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 10877 Jul 18, 2008, 7:23 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 10912 Jul 18, 2008, 8:06 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 10931 Jul 18, 2008, 8:12 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 10910 Jul 18, 2008, 8:28 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 10916 Jul 18, 2008, 8:31 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 10955 Jul 18, 2008, 8:39 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 10907 Jul 18, 2008, 8:40 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 10913 Jul 18, 2008, 8:55 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 10942 Jul 18, 2008, 9:00 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 10886 Jul 18, 2008, 9:04 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 10910 Jul 18, 2008, 9:11 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 10913 Jul 18, 2008, 9:45 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 10878 Jul 18, 2008, 9:49 AM
Thread; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 10889 Jul 18, 2008, 9:57 AM
Thread; hot thread Re: [chapelier] How to display owner links from a second installation
Andy 10919 Jul 18, 2008, 10:02 AM
Post; hot thread Re: [Andy] How to display owner links from a second installation
chapelier 10852 Jul 18, 2008, 10:08 AM