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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install plugins and themes in correct multisite folders #841

Merged
merged 1 commit into from
May 30, 2016

Conversation

Sommerregen
Copy link
Contributor

When having multisite folders with different user folders and one installs a plugin or a theme, Grav always installs it in the "root" folders like user/plugins or user/themes.

This PR addresses the issue (cf. getgrav/grav-plugin-admin#319) and fixes it with full backward-compatibilty and without any change to the Grav GPM package system.

However in the future I advise to use streams in the package system, which are resolved to the respective folders in the grav installs of the users. This PR is a step to this direction and (I guess) will be tackled in Grav v2.x.

@rhukster rhukster merged commit 4c687ee into getgrav:develop May 30, 2016
@rhukster
Copy link
Member

Yes we definitely plan on moving the CLI stuff to streams. Probably before Grav 2.x, Maybe even Grav 1.2.

@rhukster
Copy link
Member

Thanks btw.

@hi-ko
Copy link

hi-ko commented Jun 20, 2018

As mentioned in getgrav/grav-plugin-admin/issues/319 the easiest work around we now use is to create symlinks for plugins, themes in sites. We do the same for pages/pagetrees from other sites we want to "reuse" in other sites.
Unfortunately this does not solve the CLI issue which we need for automated deployments (and e.g. reindex search)

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

Successfully merging this pull request may close these issues.

3 participants