The breadcrumbs widget rewrites links in paginated navigation like this

http://meh-obr.ru/catalog/tokarnye%2Funiversalnye-tokarnye%2Funiversalnye_60?view=table&page=2 

and it should be:

 catalog/tokarnye/universalnye-tokarnye/universalnye_60?view=table 

how to be?

  • And what rules do you have in the settings file UrlManager? And how do you want to distinguish pages without the page=2 parameter, because 2 different pages can not have the same URL, if the pagination is not done in javascript? - MasterAlex
  • I am sorry, it was sealed yesterday. in fact, I did not mean breacrumb but LinkPager. The thing was that the widget encoded the url, I climbed into the Link Pager widget and made urddecode when output. I do not know maybe a crutch is considered, but it works. - Anatoly
  • Well, maybe because of your urldecode you get such links, recently made LinkPager for news and wrote the following rule: 'news/page/<page:\d+>'=> 'news/index', try to do something like this. And everyone wanted to know what kind of url you hope to get in the end? - MasterAlex

0