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

Products: Gossamer Links: Development, Plugins and Globals: Re: [tga] global to display the last part of the url: Edit Log

Here is the list of edits for this post
Re: [tga] global to display the last part of the url
Hi,

Something like this should work (untested);

Code:
sub {
my ($pref,$blank,$firsturl,$rest) = split /\//, $_[0];
return $firsturl;
}

<%global_name($URL)%>

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: May 9, 2005, 11:51 PM

Edit Log: