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

Small global: Value from another table

Quote Reply
Small global: Value from another table
Hi,

when I am using the tag <%Email%> at the moment, i get the value of the Email-Attribute from table Users from the logged in User.

I need a small global, where i can get a value from another table (from the logged in user).

For example the name of the global is: Phonenumber

And so i use it in every template:
<%set Phone = $Phonenumber(Tablename)%>
<%Phone%>

Can anybody help?

Thanks in advance!

Coyu