IO have a global that is picking up links for my home page.
It is currently set to pick up links with CatDepth => 1,
I want it to pick up for all Category depths except 0, that is 1, 2, 3 and as much as i will have later on .
this is how it looks now,
my $sth = $tbl->select( { CatDepth => 1 } ) || die $GT::SQL::error;
I tried
my $sth = $tbl->select( { CatDepth => 2 } ) || die $GT::SQL::error;
and will only pick up categories with depth 2
can any one help me
It is currently set to pick up links with CatDepth => 1,
I want it to pick up for all Category depths except 0, that is 1, 2, 3 and as much as i will have later on .
this is how it looks now,
my $sth = $tbl->select( { CatDepth => 1 } ) || die $GT::SQL::error;
I tried
my $sth = $tbl->select( { CatDepth => 2 } ) || die $GT::SQL::error;
and will only pick up categories with depth 2
can any one help me