Jump to:

23487 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » total_ris() functions don't work

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 644 Views
  • bebabeba
    Avatar
    Community Member
    192 Posts

    total_ris() functions don't work Link to this post

    Hi!

    whit new silverstripe versions 3.4 I have an error in this point

    $tot_records=$this->total_ris();

    ERROR:The method 'total_ris' does not exist on 'Page_Controller'

    Whit other version I haven't this problem..how can correct?
    This function hel me in pagination and show me total number of result of my query.

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: total_ris() functions don't work Link to this post

    Does your total_ris() function exist on pagecontroller class? post your code - page.php and might be able to help more.

    644 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.