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

Re: [afinlr] How to get a detailed link URL on your homepage?

Quote Reply
Re: [afinlr] How to get a detailed link URL on your homepage? In reply to
Ok, this worked!



Code:
sub {my $url = shift;if ($ENV{SCRIPT_FILENAME} =~ /page\.cgi/i) {
return "page.cgi?g=" . $url . "/" . $CFG->{build_index} . "&d=1";
} else {
return "/" . $url . "/" . $CFG->{build_index};
}
}


Where $url is the name of your category. Note, only works if category name = directory name.
Subject Author Views Date
Thread How to get a detailed link URL on your homepage? scorpioncapital 3862 Sep 9, 2003, 1:03 PM
Thread Re: [scorpioncapital] How to get a detailed link URL on your homepage?
afinlr 3735 Sep 9, 2003, 4:32 PM
Thread Re: [afinlr] How to get a detailed link URL on your homepage?
scorpioncapital 3755 Sep 9, 2003, 4:38 PM
Thread Re: [scorpioncapital] How to get a detailed link URL on your homepage?
afinlr 3750 Sep 9, 2003, 4:43 PM
Thread Re: [afinlr] How to get a detailed link URL on your homepage?
scorpioncapital 3757 Sep 9, 2003, 9:06 PM
Thread Re: [scorpioncapital] How to get a detailed link URL on your homepage?
Andy 3751 Sep 10, 2003, 1:06 AM
Thread Re: [Andy] How to get a detailed link URL on your homepage?
scorpioncapital 3763 Sep 10, 2003, 8:30 AM
Thread Re: [scorpioncapital] How to get a detailed link URL on your homepage?
Andy 3786 Sep 10, 2003, 8:32 AM
Post Re: [Andy] How to get a detailed link URL on your homepage?
scorpioncapital 3743 Sep 10, 2003, 8:42 AM