Skip to content

Manage Categories #50

@mydnic

Description

@mydnic

Hello
I searched everywhere but I didn't find any way to manage categories and subCategories.. Is there a convenient way to do that ?

In my application I have an admin panel, so I created an Admin\ForumController that extends your \Riari\Forum\Controllers\BaseController

I then created a "create" and "store" methods with a custom form to add a category, but when I try to do this, for exemple :

$category = [
      'parent_category' => $parent_category,
      'title'           => Input::get('title'),
      'subtitle'        => Input::get('subtitle'),
];
$this->categories->create($category);

I get a MassAssignmentException error..
($parent_category is "null")

What am I missing ?? ^^

Thanks by advance

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions