Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: New template -- Dynamic Mode

Quote Reply
Re: New template -- Dynamic Mode In reply to
hmm

your template andy_c.html
does not have any reference, so your globals are unknown.
the easiest way of this is:

copy the folowwing subroutine in Links/Utils.pm

sub link_info {
# -------------------------------------------------------------------
# You call this tag by placing <%Links::Utils::link_info%> in your templates
#
#
my $tags = shift;
my $link_db = $DB->table('Links');
my $id = $tags->{ID};
my $link_info = $link_db->get($id, 'HASH');
return $link_info;
}

and paste the folowwing in your new template

<%Links::Utils::link_info%>

<%ID%>
<%Title%>

and more globals thet refers from the links table.

hope it works.






Subject Author Views Date
Thread New template -- Dynamic Mode Bear 5269 Jun 2, 2001, 1:48 PM
Thread Re: New template -- Dynamic Mode
pugdog 5185 Jun 2, 2001, 2:50 PM
Thread Re: New template -- Dynamic Mode
Bear 5213 Jun 2, 2001, 4:21 PM
Post Re: New template -- Dynamic Mode
jdunes 5117 Jun 3, 2001, 5:06 PM
Thread Re: New template -- Dynamic Mode
ridesworld 5178 Jun 4, 2001, 3:22 AM
Thread Re: New template -- Dynamic Mode
account deleted 5111 Jun 4, 2001, 5:10 AM
Thread Re: New template -- Dynamic Mode
ridesworld 5086 Jun 4, 2001, 12:50 PM
Post Re: New template -- Dynamic Mode
account deleted 5091 Jun 5, 2001, 7:15 AM
Thread Re: New template -- Dynamic Mode
account deleted 5008 Sep 1, 2001, 4:29 AM
Thread Re: New template -- Dynamic Mode
account deleted 4938 Sep 3, 2001, 2:36 PM
Post Re: New template -- Dynamic Mode
Paul 4971 Sep 3, 2001, 2:43 PM
Post Re: New template -- Dynamic Mode
Alex 4901 Sep 4, 2001, 10:30 AM
Post Re: New template -- Dynamic Mode
sstreams 5085 Jun 4, 2001, 4:38 PM
Post Re: New template -- Dynamic Mode
Alex 5059 Jun 5, 2001, 10:35 AM