1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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.
    Dismiss Notice
  3. 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

Discussion in 'Template Modifications [Archive]' started by Forsaken, Mar 20, 2011.

Thread Status:
Not open for further replies.
  1. Forsaken

    Forsaken Well-Known Member

    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>
    
     

    Attached Files:

  2. Wuebit

    Wuebit Well-Known Member

    What does this do? add a Description under the forum title? if so you can do that with a single click in the admin :)
     
  3. Nasr

    Nasr Well-Known Member

    It changes the description to show in tooltip instead of showing as text below the title.
     
  4. Forsaken

    Forsaken Well-Known Member

    I'll add a preview, was finishing up something when I posted.
     
  5. Wuebit

    Wuebit Well-Known Member

    Ah right cool :)
     
  6. Forsaken

    Forsaken Well-Known Member

    Added a screenshot.
     
  7. ToDie4

    ToDie4 Well-Known Member

    Clears up more of the index perfectly, thank you for this. :)
     
Thread Status:
Not open for further replies.

Share This Page