Added Blogposts
This commit is contained in:
23
www/protected/views/blogPost/index.php
Normal file
23
www/protected/views/blogPost/index.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/* @var $this BlogPostController */
|
||||
/* @var $dataProvider CActiveDataProvider */
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
$this->pageTitle = 'Blog - ' . Yii::app()->name;
|
||||
|
||||
$this->breadcrumbs = array(
|
||||
'Blog' => array('/blog'),
|
||||
);
|
||||
|
||||
$this->selectedNav = 'blog';
|
||||
|
||||
?>
|
||||
|
||||
<h1>Blog Posts</h1>
|
||||
|
||||
<?php $this->widget('bootstrap.widgets.TbListView',array(
|
||||
'dataProvider'=>$dataProvider,
|
||||
'itemView'=>'_view',
|
||||
)); ?>
|
||||
Reference in New Issue
Block a user