[FEATURE] Add support for groupHomePath feature#6
[FEATURE] Add support for groupHomePath feature#6stigfaerch wants to merge 5 commits intoOktopuce:masterfrom
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