Jump to content

Proper way to make member group clickable in topic view?


Maxxius

Recommended Posts

Posted

hi, I wanted to make all the member groups clickable in topic view so if people click they end up on page explaining all the groups.

I opened postContainer template and added a href link to this line

<li>{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="true"}</li>

this worked. but it introduced problems with threadstarter mods. if this the only way to archive this linking?

Posted
On 12/10/2019 at 12:03 AM, Maxxius said:

it introduced problems with threadstarter mods

You would probably need to clarify what problem was caused. Wrapping that line in a link to whatever page you want it to go to shouldn't cause any problems.

Posted

It managed to cause a problem with all 3 ThreadStarter apps that I have. It caused the threadstarter descriptions to be duplicated and crammed over the first post text.

Posted

I would probably reach out to whoever wrote these "Threadstarter apps" you speak of, as that's where the problem lies. Probably, their hook point for the template in question is loose and is matching more than what you want it to.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...