Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Can't register namespaces, functions & filters in plugins #25

Closed
kraftner opened this issue Sep 28, 2017 · 2 comments
Closed

Can't register namespaces, functions & filters in plugins #25

kraftner opened this issue Sep 28, 2017 · 2 comments

Comments

@kraftner
Copy link

It seems as if using $kirby->options has the downside that anything you set outside/after config.php is being ignored. That is kind of sad because unless I got something really wrong you can't add anything from plugins now in contrast to what the docs say.

I'm pretty new to kirby, but I think that one would need to use c::$data and c::get() to make this work.

Let me know if you need any more infos on this.

@fvsch
Copy link
Owner

fvsch commented Sep 29, 2017

Good catch. This should be fixed in 3.0.1:
c755d8b

Can you test on your side? (Both the classic and Composer install methods should work.)

@kraftner
Copy link
Author

Wow, that was fast! 😍 Everything working as expected. Merci beaucoup!

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

No branches or pull requests

2 participants