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

Products: Gossamer Links: Development, Plugins and Globals: Re: [anthonyweston] Displaying a user field on detailed link page: Edit Log

Here is the list of edits for this post
Re: [anthonyweston] Displaying a user field on detailed link page
Hi,

I think you actually wanna use the LinkOwner value, not the current logged in user? Try this:

load_ref_id
Code:
sub {
return $DB->table('Users')->select( ['Referral_ID'], { Username => $_[0] } )->fetchrow;
}

Call with this in detailed.html :

Code:
<%load_ref_id($LinkOwner)%>

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Andy: Oct 9, 2012, 1:14 AM

Edit Log: