Commit d38bb7e752d06b63922f377927d69c044a0cdfb0
1 parent
c8fbb9d2
пагинация в блоге
Showing
3 changed files
with
13 additions
and
12 deletions
Show diff stats
frontend/controllers/ServiceController.php
... | ... | @@ -43,8 +43,8 @@ |
43 | 43 | |
44 | 44 | $layoutMicrodata=(count($model->prices)>1)? |
45 | 45 | [ |
46 | - '@context'=> 'http://schema.org/', | |
47 | - '@type'=> 'Product', | |
46 | + 'context' => 'http://schema.org/', | |
47 | + 'type' => 'Product', | |
48 | 48 | 'name'=> "'{$model->language->attributes['title']}'", |
49 | 49 | 'offers' => |
50 | 50 | [ | ... | ... |
frontend/microdata/ProductMicrodata.php
frontend/views/blog/index.php
... | ... | @@ -74,16 +74,16 @@ |
74 | 74 | |
75 | 75 | <div class="col-xs-12 col-sm-12"> |
76 | 76 | <div class="style navi-c-a"> |
77 | - | |
78 | - <?php echo \frontend\widgets\FrontendPager::widget( | |
79 | - [ | |
80 | - 'pagination' => $dataProvider->pagination, | |
81 | - 'prevPageLabel' => 'previous', | |
82 | - 'nextPageLabel' => 'next', | |
83 | - 'maxButtonCount' => 5, | |
84 | - 'lastPageLabel' => 'last_number', | |
85 | - ] | |
86 | - );?> | |
77 | + | |
78 | + <!-- --><?php // echo \frontend\widgets\FrontendPager::widget( | |
79 | + // [ | |
80 | + // 'pagination' => $dataProvider->pagination, | |
81 | + // 'prevPageLabel' => 'previous', | |
82 | + // 'nextPageLabel' => 'next', | |
83 | + // 'maxButtonCount' => 5, | |
84 | + // 'lastPageLabel' => 'last_number', | |
85 | + // ] | |
86 | + // );?> | |
87 | 87 | </div> |
88 | 88 | </div> |
89 | 89 | </div> | ... | ... |