• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
  • This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Category Description Tooltips

Status
Not open for further replies.

Forsaken

Well-known member
#1
Change node_category_level_1:
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>
To 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>
 

Attachments

Wuebit

Well-known member
#2
What does this do? add a Description under the forum title? if so you can do that with a single click in the admin :)
 
Status
Not open for further replies.