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

raykrayk New
edited September 2009 in Vanilla 1.0 Help

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.



  • MarkMark Vanilla Staff
    We don't have a pager that does old-school paging like that yet, but I've made it modular so someone can do it as a plugin if they want.

    You can hard-code the comments/page to 15 in your conf/config.php file with:

    $Configuration['Vanilla']['Comments']['PerPage'] = '15';

  • raykrayk New
    edited September 2009
    That didn't work Mark, is that for Vanilla1? The syntax looks different to all the configs in the conf/settings.php .

    Edit: found the line in conf file.

    $Configuration['COMMENTS_PER_PAGE'] = '15';
  • MarkMark Vanilla Staff
    My bad - yeah, I was talking about V2 - but V1 is quite similar in this respect :)
Sign In or Register to comment.