Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kirby 2.2 compatibility #57

Closed
ghost opened this issue Oct 31, 2015 · 5 comments
Closed

Kirby 2.2 compatibility #57

ghost opened this issue Oct 31, 2015 · 5 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Oct 31, 2015

馃悰 I'm running a Kirby 2.2 beta (based on the nighlty) site together with the kirby visual markdown plugin and it's not working. All I get is a two line textarea and the buttons as a bold title and shortcut.

It works fine for me when I use it with the latest stable version of Kirby.

I see there was someone else before me reporting this in issue #36.

If you have any idea where to start hunting the problem down I will have a look myself.

Update: I had a look at it real quick and it non of the assets are loaded anymore. I hardcoded them in and the field works. Looks like they are not picked up by the panel anymore. Resulting in the unstyled textarea. On top there are two missing files. The form.css and form.js are missing. I guess they would normally hold the custom field assets too.

Thank you.

@ghost ghost changed the title 馃悰 Kirby 2.2 compatibility Kirby 2.2 compatibility Oct 31, 2015
@JonasDoebertin JonasDoebertin self-assigned this Nov 2, 2015
@ghost
Copy link
Author

ghost commented Nov 3, 2015

I checked a little bit more what could be the problem. If you look at the panel routes file end, you will see two routes for the mentioned form .css/.js and they just don't respond with something else than 404 which then results in the both variables being empty too.

@JonasDoebertin
Copy link
Owner

Hmm. I just did a test run on three different projects using the latest Kirby 2.2 nightly version and Visual Markdown Editor works just fine with all of them.

@ghost
Copy link
Author

ghost commented Nov 3, 2015

I tested more as well. I ran on a df server with PHP5.6.12 and it worked like a charm. On my Mac I tested with the PHP5.6.14 build in dev server and it does not work. I guess that's the problem. Not running it with the PHP server.

@JonasDoebertin
Copy link
Owner

Seems to be related to getkirby-v2/panel#605 if you ask me.

@ghost
Copy link
Author

ghost commented Nov 3, 2015

Yes that should be the problem spot. Thank you for your help and linking the issue back to Kirby.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant