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


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
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