Jump to content
X2Community Forums

Custom Module Profile Widget

Recommended Posts

Hi there,


I created a custom module and added a "Summary" widget to the users profile page, but when clicking the gridview items "name" atribute link, the platform redirects to the user profile page instead of redirecting to the item view form.



The link the platform is creating is ".../profile/[id]" instead of ".../custommodule/[id]".


I'm using X2Engine V5.0.4, but I've tried to replicate this behaviour using the X2Engine website demo (v5.0.5) and this bug (in my opinion) stills happens. Does anyone have detected the same issue or knows a possible solution to this?



Thanks in advance.

Link to post
Share on other sites

Hi jlbandeira,


I think its x2 bug, and to fix this you need to customize the code.
I have fixed it changing a line of code here
Line # 118 protected\components\sortableWidget\profileWidgets\TemplatesGridViewProfileWidget.php
Link to post
Share on other sites

Hi Derek,


Please keep in mind while fixing this bug in upcoming version that on selecting tool from column selector the view/update/delete buttons also directs to profile page instead of the relevant pages. This happens for all summary widgets (both x2 built in and custom modules).



Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...