Calendar View Widget Extension

Hey guys,

this is the topic to ask any questions, have suggestions, ideas or feature requests.

Feel free to ask anything.

Extension:

Yii2 Calendar View Widget

Project page on GitHub:

https://github.com/marekpetras/yii2-calendarview-widget

Screenshot:

Cheers,

Marek

Just wondering what would be the proper way to include this on a page from another controller?

Im trying to include this widget in my app but as I’ve seen the code is incomplete and it has errors in the CalendarSearch model.

$query = Activity::find()->where(['user_id'=>Yii::$app->user->getId()]);

I believe it’s

$query = Calendar::find()->where(['id'=>Yii::$app->user->getId()]);

and

$query->andFilterWhere([
            'id' => $this->id,
            'date' => $this->calories,
            'val' => $this->peak_heartrate,
        ]);

it’s

$query->andFilterWhere([
            'id' => $this->id,
            'date' => $this->date,
            'val' => $this->val,
        ]);

But it still doesn’t work.
Any thoughts??