Oops, I was looking at the add page instead of the add_success page.
The Category ID is on the add_success page but it is stuck inside an array. I think that to print this you need a global - maybe there is a way to do it using loops but I'm not sure. Anyway, this global seems to work:
sub {
my @catids = shift;
my $catid = pop @catids;
$catid = pop @$catid;
return $catid;
}
Name the global catid and then call it with <%catid($CatLinks.CategoryID)%>
Hope it works for you.
Laura.
The UK High Street
The Category ID is on the add_success page but it is stuck inside an array. I think that to print this you need a global - maybe there is a way to do it using loops but I'm not sure. Anyway, this global seems to work:
sub {
my @catids = shift;
my $catid = pop @catids;
$catid = pop @$catid;
return $catid;
}
Name the global catid and then call it with <%catid($CatLinks.CategoryID)%>
Hope it works for you.
Laura.
The UK High Street