Gossamer Forum
Home : Products : Gossamer Links : Discussions :

simple global....?

Quote Reply
simple global....?
ok...its a global thing...iam very new with perl.....

can someone explain me an easy global ? lets say, a user has registered on my side
and i whant to show the username on any link (link.html) add he made...

this should not be for "copy & paste" !!! with an easy example i can write my own
globals !!!!
Quote Reply
Re: [imp] simple global....? In reply to
Hi,

A global is simple to write;

Code:
sub {

... code here

}

I don't really understand the following though;

Quote:
can someone explain me an easy global ? lets say, a user has registered on my side
and i whant to show the username on any link (link.html) add he made...

Unsure

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!
Quote Reply
Re: [Andy] simple global....? In reply to
ok...what i whant do do is ....

1. i have added an extrafiield (for an url) on the registerform...it calls userpic....
2. then i added an extra column (userpic) in the admin/database/ to the user table...
3. so ... any time when a user adds a link, his userpic should apear with the link datas...(kind a logo or else..)

another problem is to show the fathercategorys on any page i would ! i got my fathercategorys in one column
on the left side... (like ebay) and i found some globals here to insert the fathercategory on my other pages to...
and it works ....but its not the same layout....i didnt found a global that shows me the linked catnames + (numbers)
like...
Sports (18)
Cars (23)

...iam on Gossamer Links: Development, Plugins and Globals : Page 45


Crazy

thanx for the help !!!