Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

total_ris() functions don't work


Go to End


2 Posts   945 Views

Avatar
bebabeba

Community Member, 193 Posts

10 December 2009 at 4:18am

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.

Avatar
Willr

Forum Moderator, 5523 Posts

10 December 2009 at 12:10pm

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