You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. You can insert your own widget on the page by the following steps:
134
+
3. You can insert your own widget on the page by the following steps:
112
135
113
136
- Create the widget, for example:
114
137
@@ -147,7 +170,7 @@ class MyWidget extends Widget
147
170
[[\app\widgets\MyWidget:show]]
148
171
```
149
172
150
-
3. You can use parameters in your page content, for example: {siteName}, {homeUrl}. For parsing this parameters you can use the `baseTemplateParams` property:
173
+
4. You can use parameters in your page content, for example: {siteName}, {homeUrl}. For parsing this parameters you can use the `baseTemplateParams` property:
151
174
152
175
```php
153
176
public function actions()
@@ -164,7 +187,7 @@ public function actions()
164
187
}
165
188
```
166
189
167
-
4. You can change comments module settings by the following code:
190
+
5. You can change comments module settings by the following code:
0 commit comments