breadcrumbs=array( 'Speis & Trank'=>array('index'), $model->name, ); $this->menu=array( array('label'=>'Standorte', 'url'=>array('index')), array('label'=>'Standort erstellen', 'url'=>array('create')), array('label'=>$model->name.' bearbeiten', 'url'=>array('update', 'id'=>$model->id)), array('label'=>$model->name.' löschen', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')), ); ?>

Standort "name ?>"

zoom = 20; $mapTypeControlOptions = array( 'position'=> EGMapControlPosition::LEFT_BOTTOM, 'style'=>EGMap::MAPTYPECONTROL_STYLE_DROPDOWN_MENU ); $gMap->width = '100%'; $gMap->setOptions(array("mapTypeId"=>EGMap::TYPE_HYBRID)); $gMap->mapTypeControlOptions= $mapTypeControlOptions; $gMap->setCenter($model->pos_lat, $model->pos_long); $info_window_a = new EGMapInfoWindow('

'.$model->name.'
'); $icon = new EGMapMarkerImage("http://google-maps-icons.googlecode.com/files/gazstation.png"); $icon->setSize(32, 37); $icon->setAnchor(16, 16.5); $icon->setOrigin(0, 0); $marker = new EGMapMarkerWithLabel($model->pos_lat, $model->pos_long, array('title' => $model->name,'icon'=> $icon)); $marker->draggable=false; $marker->raiseOnDrag= true; $marker->addHtmlInfoWindow($info_window_a); $gMap->addMarker($marker); // enabling marker clusterer just for fun // to view it zoom-out the map $gMap->enableMarkerClusterer(new EGMapMarkerClusterer()); $gMap->renderMap(); ?>

Folgende Vereine finden sich name?>
array( 'condition'=>'standort_id='.$model->id, ), 'pagination'=>array( 'pageSize'=>20, ), )); $this->widget('zii.widgets.CListView', array( 'dataProvider'=>$dataProvider, 'itemView'=>'/verein/_short', 'sortableAttributes'=>array( 'name' ) ));?>