Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Modify page number display
rayk
New
Hi,
Where is the template bit that generates page numbers in vanilla1 located?
Basically instead of: < 1 2 3 4..... > displayed I want: < [1] 2 3 4..... > current page number to be bracketed. Also, is there any way to set 15 comments per page, admin panel only has either 10 comments or 20.
Cheers
Where is the template bit that generates page numbers in vanilla1 located?
Basically instead of: < 1 2 3 4..... > displayed I want: < [1] 2 3 4..... > current page number to be bracketed. Also, is there any way to set 15 comments per page, admin panel only has either 10 comments or 20.
Cheers
0
Comments
You can hard-code the comments/page to 15 in your conf/config.php file with:
$Configuration['Vanilla']['Comments']['PerPage'] = '15';
Edit: found the line in conf file.
$Configuration['COMMENTS_PER_PAGE'] = '15';