Hi Adrian,
Thanks for your response.
I just added this :
# -------------------------------------------------------------------
# Display add link form.
my $self = shift;
my $base = $self->is_in_subtree ($IN->param ('category_id')) or return;
return ($self->{perms}->{$base}->{CanAddLink} eq 'Yes') ? 1 : 0;
}
with regards to my example but I'm still getting the you are not authorised to do this message...
It's this message : BROWSER_UNAUTHORIZED from the language file. Don't know if that helps to figure out what is going on ?
Thanks, John
Significant Media
Thanks for your response.
I just added this :
Code:
sub link_add_form_site { # -------------------------------------------------------------------
# Display add link form.
my $self = shift;
my $base = $self->is_in_subtree ($IN->param ('category_id')) or return;
return ($self->{perms}->{$base}->{CanAddLink} eq 'Yes') ? 1 : 0;
}
with regards to my example but I'm still getting the you are not authorised to do this message...
It's this message : BROWSER_UNAUTHORIZED from the language file. Don't know if that helps to figure out what is going on ?
Thanks, John
Significant Media