We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70dbd06 commit 17bda9fCopy full SHA for 17bda9f
README.md
@@ -8,7 +8,18 @@ composer require pceuropa/yii2-sort
8
```
9
10
##Configure
11
-
+```
12
+<php
13
+use pceuropa\sort\SortWidget;
14
+?>
15
+
16
+ <?= SortWidget::widget([
17
+ 'image_url' => Url::to('@banners', 'http'),
18
+ 'table' => '',
19
+ 'model' => $model,
20
+ ]) ?>
21
22
23
### Action code
24
25
public function actionIndex(){
views/sort.php
@@ -27,7 +27,7 @@
27
28
}; //end foreach
29
30
-echo "<ul id='lista'>".$return."</ul>";
+echo "<div id='baners_scrolls'></div><ul id='lista'>".$return."</ul></div>";
31
32
33
$this->registerCss("
0 commit comments