Back to Wiki Lite Support

5521355213
5521355213

Hello, 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?

Error 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 ErrorException 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...

Briddle
Briddle

Hi,

Thank you for your interest in the Wiki Lite plugin.

I will run some tests regarding the issue you have described tomorrow and report back to you.

You can change the component partial by overwriting it’s view. This way future updates will not be overwritten.

See: https://octobercms.com/docs/cms/components#overriding-partials

Briddle
Briddle

Hi,

Unfortunately I had to deal with another issue that took priority today.

Your issue is probably related to a name change in the plugin settings and I have scheduled an update for tomorrow.

Thank you.

5521355213
5521355213

No worries. I look forward to the update and will let you know if that fixes the problem. Thanks.

Briddle
Briddle

Hi,

This bug has now been fixed. Please update to version 1.1.2.

Thank you

5521355213
5521355213

Briddle said:

Hi,

This bug has now been fixed. Please update to version 1.1.2.

Thank you

Thanks for the update. I tried on two different servers and there seems to be another problem. " You need to login first and be allowed to perform this action! ". even if I am logged in.

I have all the components added so I can login and retain session for testing. Example below:

{% component 'account' %} {% component 'session' %} <section id="layout-title"> <div class="container"> <h3>Wiki</h3> {% component 'wiki' %} </div>

Any idea why this would not work?

Last updated

Briddle
Briddle

5521355213 said:

Thanks for the update. I tried on two different servers and there seems to be another problem. " You need to login first and be allowed to perform this action! ". even if I am logged in.

I have all the components added so I can login and retain session for testing. Example below:

{% component 'account' %} {% component 'session' %} <section id="layout-title"> <div class="container"> <h3>Wiki</h3> {% component 'wiki' %} </div>

Any idea why this would not work?

Please check the Wiki configuration. It allows you to specify what actions are allowed (add, edit, delete).

5521355213
5521355213

The plugin by default is set to everything enabled so it is enabled: Wiki enabled editing

This is how the wiki page looks like: Wiki page

When I am logged in I can see the add link. So I am logged in properly. The error is always the same if I try to remove or add any pages. " You need to login first and be allowed to perform this action!" when I am logged in

If I am not logged in I can't see the add link as noted in the picture below: When I am not logged in

Thank you for responding!

Last updated

1-8 of 8