Back to Staff List Support

Mavitm
Mavitm

OctoberCMSIsKing said:

Anybody manage to get the "Staff View list" component page displayed?

I kept getting Page Not Found once I add this component inside my page.

you need to choose which view you want to show on the component

 $viewDataRow = Property::find($this->property("sourceID"));

if(empty($viewDataRow->id) || empty($viewDataRow->property))
{
  return $this->controller->run('404');
}
Mavitm
Mavitm

OctoberCMSIsKing said:

Ok .. it's working now. I couldn't find the sourceID property in the component to add. So I've edited the .htm file directly. Hope I'm doing it correctly.

First, I created a view called manager and I selected it via component. on the video in 2:30 minutes https://youtu.be/U7FAvFQmvRM?t=150

1-4 of 4