Cakephp 3 pagination - how get active link -


i wanted ask, how can configure pagination show active link.

no have this:

when on 3 page, cant style button show user position. template pagination looks this:

$config = [ 'number' => '<li><a href="{{url}}">{{text}}</a></li>', 'current' => '<li><a href="{{url}}">{{text}}</a></li>',]; 

i have tried cakephp3 docs, without success.

this easy way working.

$config = [ 'number' => '<li><a href="{{url}}">{{text}}</a></li>', 'current' => '<li class="current"><a href="{{url}}">{{text}}</a></li>', 

];


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -