-
Notifications
You must be signed in to change notification settings - Fork 4
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
[FEATURE] Add support for groupHomePath feature #6
base: master
Are you sure you want to change the base?
Conversation
The above code seems to always return 1, I guess because of type casting on the array always returned from the explode function. In the settings it is described that a combined folder identifier is required and looks like this: There are multiple ways to do this. Another way could be to use the core code you described: |
The reason I placed it here, is that StateCreateBeGroup also needs access to the data: |
Now implemented. |
The reason that I created StateCreateGroupHomeFolder as an empty extension of StateCreateFolder, is that the state prerequisites for creating the folder with the groupHomePath is not the same as when creating just by siteTitle. When using groupHomePath, then the StateCreateBeGroup has to be already executed, as we need the groupId. I will try to find a solution to find the basePath however. |
Hmm... I already implemented this. But I don't think it makes sense. |
@Oktopuce
One option would be to provide a combined folder identifier for createFolders and then explode it inside the method to retrieve the values. |
Another option would be to add all the parameters to the method: |
Resolves #5