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

User profile support #126

Open
geirfp opened this issue Apr 22, 2020 · 1 comment
Open

User profile support #126

geirfp opened this issue Apr 22, 2020 · 1 comment

Comments

@geirfp
Copy link

geirfp commented Apr 22, 2020

Thanks for a great module! I am interested to know if would be possible to use the custom pages and snippets in a user's personal space, such as those starting with /u/ in the URL.

I am not (yet) developing with PHP, but I have seen that the Wiki module which can be used in personal spaces has one more entry (mentioning User::class) in the following function in Modules.php:

public function getContentContainerTypes()
{
    return [
        Space::class,
    ];
}

In addition it seems there need to be a method such as "onProfileMenuInit" in Events.php and a reference to that method from config.php. Does anyone know if that is all that is needed?

And for more ideas elaborating on having custom pages for user spaces, it could be nice to have a configuration option so that those pages could only be seen by followers of the user. (Especially nice if the user can approve who they allow to follow them).

@buddh4 buddh4 changed the title Would like to use custom pages in user's personal space (My wall) User profile support Jul 21, 2020
@spoorun
Copy link

spoorun commented Jan 23, 2021

This is important to allow Blog module in User Profiles too:
humhub-contrib/blog#5

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

No branches or pull requests

3 participants