I just do not know why it return me the unknow tag error.
IN Links::Utils.pm , i have copy the sub load_link and rename it to sub load_link_short, and
also create a tempalate link_short.html which is 100% copyed from link.html,
sub load_link_short {
# -------------------------------------------------------------------
# This will return a fully formatted link.
#
my $tags = GT::Template->tags;
return Links::SiteHTML::display('link_short', $tags);
}
It seems it should work, however when i click modify.cgi, all other tag is ok. while detailed_url tag is not work.
however when i modify sub load_link_short as below , it works fine.
sub load_link_short {
# -------------------------------------------------------------------
# This will return a fully formatted link.
#
my $tags = GT::Template->tags;
return Links::SiteHTML::display('link', $tags);
}
has anyone found this situation?
IN Links::Utils.pm , i have copy the sub load_link and rename it to sub load_link_short, and
also create a tempalate link_short.html which is 100% copyed from link.html,
sub load_link_short {
# -------------------------------------------------------------------
# This will return a fully formatted link.
#
my $tags = GT::Template->tags;
return Links::SiteHTML::display('link_short', $tags);
}
It seems it should work, however when i click modify.cgi, all other tag is ok. while detailed_url tag is not work.
however when i modify sub load_link_short as below , it works fine.
sub load_link_short {
# -------------------------------------------------------------------
# This will return a fully formatted link.
#
my $tags = GT::Template->tags;
return Links::SiteHTML::display('link', $tags);
}
has anyone found this situation?