Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How do I make <%LinkOwner%> show up in detailed.html template as all capitals?

Quote Reply
How do I make <%LinkOwner%> show up in detailed.html template as all capitals?
Hello,
I have one instance where I'd like the link owners name to show up as all capitals on the detailed.html page. Im currently using the <%LinkOwner%> tag in the detailed.html template.

Is there a way to make it so that it shows up as all capitals for the name that is placed in the place of the LinkOwner tag?

Thanks,
Quote Reply
Re: [Westin] How do I make <%LinkOwner%> show up in detailed.html template as all capitals? In reply to
Unsure if this will work, but try:

<%uc($LinkOwner)%>

If not, it can be done with a simple global:

change_to_uppercase
Code:
sub { return uc($_[0]); }

..then call with:

Code:
<%change_to_uppercase($LinkOwner)%>

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] How do I make <%LinkOwner%> show up in detailed.html template as all capitals? In reply to
As usual, thanks Andy.

The uc one didn't work but the template gobal one worked perfectly. Probably better this way anyway in case I want to change any other tags to uppercase too.

Kudos to you and yours.

Last edited by:

Westin: May 15, 2009, 5:33 AM