First thanks for good plugin. I have a few questions.
I am quite new to octobercms so maybe I am doing something wrong. When I try to add Contribution I get the error below. Quite strange... I followed the instructions and I think I have everything setup properly but maybe not...
Also another question is there any way to make "Toggle navigation" always collapsed and "Page" always selected. It's quite annoying to have to click 3 times to even get to the information. It should always be visible in my opinion. I have been trying to change the component aria-expanded="false" to true but it does not work. Any advice? I would also like to remove Revisions I guess I can just remove it from component right?
We're sorry, but an unhandled error occurred. Please see the details below.
Undefined variable: filename
/var/www/o/plugins/briddle/wiki/components/Wiki.php line 297
Type Undefined Exception
Storage::makeDirectory($folder . '/' . $title);
$yaml = new Yaml;
$yamlString = $yaml->render([
'1.0.0' => [
'name' => $title,
'user' => $user->id,
297 'filename' => $folder . '/' . $filename . '.md',
'description' => 'Created file on ' . date('Y-m-d H:i:s') . ' by user ' . $user->id,
'comment' => ''
Storage::put($folder . '/' . $title . '/version.yaml', $yamlString);
Thank you. I tired to make the formatting work here but no luck...