atayahmet / laravel-nestable

Laravel 5 nested category/menu generator
MIT License
214 stars 52 forks source link

Undefined index: #28

Closed bijondev closed 7 years ago

bijondev commented 7 years ago

hi, I am trying to use your packeg. But its showing flowing error. screenshot_9 And my Table structure is screenshot_8

please help....

ultrono commented 7 years ago

I've just used this package about 10 minutes ago.

You need to set the correct values as the package read me suggests. The default column it looks for is name. As you have the column title you're seeing the error.

After publishing https://github.com/atayahmet/laravel-nestable/blob/master/config/nestable.php adjust the values to be in line with your database structure.

When using open source packages I'd advise thoroughly reviewing the read me. For instance, instructions are described very clearly at https://github.com/atayahmet/laravel-nestable#configuration

atayahmet commented 7 years ago

Thanks @roballport for detailed description.