Category Description Tooltip - Forsaken

Discussion in 'XenForo Discussions' started by Brandon, Jan 31, 2013.

  1. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,707
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    A nice tips if you want to edit your category tooltips by Forsaken.

    1.png


    Find and replace this:

    Code:
    <div class="categoryText">
    <h3 class="nodeTitle"><a href="{xen:link categories, $category}">{$category.title}</a></h3>
    <xen:if is="{$category.description}"><blockquote class="nodeDescription baseHtml">{xen:raw $category.description}</blockquote></xen:if>
    </div>
    With this:

    Code:
    <div class="categoryText">
    <h3 class="nodeTitle"><a href="{xen:link categories, $category}" data-description="{xen:if @nodeListDescriptionTooltips, '#nodeDescription-{$category.node_id}'}">{$category.title}</a></h3>
    <xen:if is="{$category.description} AND @nodeListDescriptions">
    <blockquote class="nodeDescription baseHtml" id="nodeDescription-{$category.node_id}">{xen:raw $category.description}</blockquote>
    </xen:if>
    </div>
     

Share This Page