Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Anat] <%detailed_url%> tag

Quote Reply
Re: [Anat] <%detailed_url%> tag In reply to
Add the following to your globals ('Build->Template Globals'):
Code:
sub {
my $id = shift;
if ($id and $CFG->{build_detailed}) {
return "$CFG->{build_detail_url}/$id$CFG->{build_extension}";
}
}
and give it a name you like, e.g. 'get_detailed_url'. Then you can include the following tag on the detailed.html template
Code:
<%get_detailled_url($ID)%>

I hope that helps.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Subject Author Views Date
Thread <%detailed_url%> tag Anat 4534 Dec 13, 2002, 12:31 AM
Thread Re: [Anat] <%detailed_url%> tag
pugdog 4398 Dec 13, 2002, 9:06 AM
Thread Re: [pugdog] <%detailed_url%> tag
Anat 4374 Dec 13, 2002, 1:16 PM
Post Re: [Anat] <%detailed_url%> tag
pugdog 4378 Dec 13, 2002, 6:14 PM
Thread Re: [Anat] <%detailed_url%> tag
yogi 4374 Dec 14, 2002, 1:10 AM
Thread Re: [yogi] <%detailed_url%> tag
Anat 4380 Dec 14, 2002, 1:49 AM
Thread Re: [Anat] <%detailed_url%> tag
yogi 4383 Dec 14, 2002, 2:57 AM
Thread Re: [yogi] <%detailed_url%> tag
Anat 4369 Dec 16, 2002, 1:23 AM
Thread Re: [Anat] <%detailed_url%> tag
yogi 4383 Dec 16, 2002, 1:31 AM
Post Re: [yogi] <%detailed_url%> tag
Anat 4365 Dec 16, 2002, 6:48 AM
Post Re: [yogi] <%detailed_url%> tag
dwh 4196 Aug 25, 2004, 5:14 PM