Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

[Users] Move or remove any additional processing from UsersModule Profile and Messages twig extensions #3947

Description

@Kaik

So we have Profile and Message twig extensions we can use and these are provided by UsersModule
userAvatar
profileLinkByUserId
profileLinkByUserName
etc...

These twig extensions at the end are calling additional modules 3rd party that provide actual content.
The problem is that hmm... if I want to create, a profile module that is complex and will provide complex and custom profile link - with js ajax CSS and much more, should I be able to do that?

At the moment Users module collects only plain url from ProfileModule and then add it's own HTML and stuff which is not overridable, customizable... shouldn't we use above twig calls as a proxy without additional markup?

I guess it is due to BC but let's be honest if we have only one twig method available like profileLinkByUserId and it does not even allow you to get plain url without additional markup something is wrong...

I'm making those issues with the intention to fix them. I do have a plan and a few solutions are already coded - as soon as I will test them properly and will have a time I will do commit.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions