• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed Category Description: You may use HTML

Status
Not open for further replies.

MattW

Server Admin
AMS Premium
CAS Premium
RMS Premium
SC Premium
UBS Premium
If you use HTML in your category description, it's not escaped in the on hover tool tip

eg

HTML:
<img src="http://www.z22se.co.uk/forum/styles/default/nflj/showcase/category_images/astra.png">
<br><b>Astra G</b></br>

to produce this

showcase_html.PNG

the tooltip displays
showcase_tooltip.png

The resource manager is not passing any HTML into the tooltip for comparison
rm_tooltip.png
 
  • Like
Reactions: Bob
ah crap... I completely forgot to add that in.. just needs the stripHtml helper (I think). Lemme test something really quick and then I can have you test it to see if it works for you.
 
Just needed to add the striphtml helper to the title attribute of the href (line 42 of the nflj_showcase_index_sidebar template)

HTML:
title="{xen:helper striphtml, $cat.category_description}"

Should probably also apply it to the alt attribute as well..
HTML:
alt="{xen:helper striphtml, $cat.category_description}"
 
Just needed to add the striphtml helper to the title attribute of the href (line 42 of the nflj_showcase_index_sidebar template)

HTML:
title="{xen:helper striphtml, $cat.category_description}"
Yep, just done that with a quick TMS edit, and that sorts it.
 
  • Like
Reactions: Bob
Status
Not open for further replies.
Back
Top