KK wrote: And now the addon expects a pipe-separated set of explicit values in config that represent the 'access level' (1 to 10) instead of names e.g.
- Code: Select all
$t['blog.php'] = '10';
$t['news.php'] = '4 | 7 | 10';
$t['test.php'] = '';
@KK Hope you're doing better these days!
But I've tried your great suggestion and it "almost" works. The problem is that only administrators can log in to the admin panels in the first place. So only 7 & 10 really have any effect. I want regular users (level 2) to be able to access just one of the templates but they can't even log in. Am I missing something?