frontend/views/post/protected.php 1 location
|
@@ 34-36 (lines=3) @@
|
| 31 |
|
->andWhere(['taxonomy.name' => 'category']) |
| 32 |
|
->one(); |
| 33 |
|
|
| 34 |
|
if ($category) { |
| 35 |
|
$this->params['breadcrumbs'][] = ['label' => Html::encode($category->name), 'url' => $category->url]; |
| 36 |
|
} |
| 37 |
|
|
| 38 |
|
$this->params['breadcrumbs'][] = Html::encode($post->title); |
| 39 |
|
?> |
frontend/views/post/view.php 1 location
|
@@ 35-37 (lines=3) @@
|
| 32 |
|
->andWhere(['taxonomy.name' => 'category']) |
| 33 |
|
->one(); |
| 34 |
|
|
| 35 |
|
if ($category) { |
| 36 |
|
$this->params['breadcrumbs'][] = ['label' => Html::encode($category->name), 'url' => $category->url]; |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
$this->params['breadcrumbs'][] = Html::encode($post->title); |
| 40 |
|
CommentAsset::register($this); |
themes/writesdown/post/protected.php 1 location
|
@@ 54-56 (lines=3) @@
|
| 51 |
|
->andWhere(['taxonomy.name' => 'category']) |
| 52 |
|
->one(); |
| 53 |
|
|
| 54 |
|
if ($category) { |
| 55 |
|
$this->params['breadcrumbs'][] = ['label' => Html::encode($category->name), 'url' => $category->url]; |
| 56 |
|
} |
| 57 |
|
|
| 58 |
|
$this->params['breadcrumbs'][] = Html::encode($post->title); |
| 59 |
|
?> |
themes/writesdown/post/view.php 1 location
|
@@ 57-59 (lines=3) @@
|
| 54 |
|
->andWhere(['taxonomy.name' => 'category']) |
| 55 |
|
->one(); |
| 56 |
|
|
| 57 |
|
if ($category) { |
| 58 |
|
$this->params['breadcrumbs'][] = ['label' => Html::encode($category->name), 'url' => $category->url]; |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
$this->params['breadcrumbs'][] = Html::encode($post->title); |
| 62 |
|
CommentAsset::register($this); |