XenForo Grabbing the user banner title and using it as a tooltip on the banner.

  • Thread starter Thread starter Russ
  • Start date Start date
R

Russ

Guest
I'm trying to figure out how to grab the user banner text and place it in a tooltip. It sounds strange, but we're not displaying the user banner text by default so we want to use a tooltip.

Code:

<xf:userbanners user="$user" tag="div" class="message-userBanner" data-xf-init="tooltip" title="User banner text here" itemprop="jobTitle" />

The above code works fine with the tooltip. But I'm trying to place the text of the banner there replacing "User banner text here". I've tried {{...

Read more

Continue reading...