I need to create reverse numbers in CPagination...
Default is:
Prev 1 2 3 4 Next
I need:
Prev 4 3 2 1 Next
Widget is CListview and articles is sorted by newest.
It's possible in CPagination?
I need to create reverse numbers in CPagination...
Default is:
Prev 1 2 3 4 Next
I need:
Prev 4 3 2 1 Next
Widget is CListview and articles is sorted by newest.
It's possible in CPagination?
Copyright © 2021 Jogjafile Inc.
Yes it is possible.
Please check this extension. http://www.yiiframework.com/extension/yii2-reversed-pagination/
In controller:
In View: