1
0

Added Disqus Widget to [programs/view] and [blog/view]

This commit is contained in:
2014-09-06 15:39:39 +02:00
parent 6718ad0470
commit 9cffea9ec3
11 changed files with 236 additions and 3 deletions

View File

@@ -30,4 +30,19 @@ $this->breadcrumbs = array(
</div>
</div>
<div class="disqus_owner">
<?php
$this->widget(
'ext.YiiDisqusWidget.YiiDisqusWidget',
[
'shortname' => 'mikescher-de',
'identifier' => 'blog/view/' + $model->ID,
'title' => $model->Title,
'url' => $model->getAbsoluteLink(),
'category_id' => '3253401', // = blog/view
]
);
?>
</div>
</div>