summaryrefslogtreecommitdiff
path: root/protected/views/veranstaltung/index.php
diff options
context:
space:
mode:
authorPatrick Seeger <pseeger@ccwn.org>2012-06-26 16:59:26 +0200
committerPatrick Seeger <pseeger@ccwn.org>2012-06-26 16:59:26 +0200
commitd7f3ac205ced0e1f1c26599b277cbfb988e48900 (patch)
treefa2f976c67ee8d47146d07689982607dcaf92d3b /protected/views/veranstaltung/index.php
parent66e981bd3d3f9946afed0efbcaf8efa7907c530f (diff)
Anzeige optimiert, Vereine und Veranstaltungen veröffentlicht
Diffstat (limited to '')
-rw-r--r--protected/views/veranstaltung/index.php13
1 files changed, 11 insertions, 2 deletions
diff --git a/protected/views/veranstaltung/index.php b/protected/views/veranstaltung/index.php
index e8a5ceb..3703092 100644
--- a/protected/views/veranstaltung/index.php
+++ b/protected/views/veranstaltung/index.php
@@ -5,13 +5,22 @@ $this->breadcrumbs=array(
$this->menu=array(
array('label'=>'Jetzt auf dem Fest', 'url'=>array('now')),
- array('label'=>'Veranstaltung suchen', 'url'=>array('search')),
+ //array('label'=>'Veranstaltung suchen', 'url'=>array('search')),
);?>
<h3>Veranstaltungen</h3>
-<?php $this->widget('zii.widgets.grid.CGridView', array(
+<?php $this->widget('zii.widgets.CListView', array(
+ 'dataProvider'=>$model->published()->sorted()->search(),
+ 'itemView'=>'_short_all', // refers to the partial view named '_post'
+ 'sortableAttributes'=>array(
+ 'startzeit', 'titel'
+ /*'create_time'=>'Post Time',*/
+ ),
+ ));
+
+ $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'veranstaltung-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,