1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

forum home category descriptions on pop up like forum descriptions

Discussion in 'XenForo Questions and Support' started by DieselMinded, Mar 20, 2011.

  1. DieselMinded

    DieselMinded Active Member

    I need forum home category descriptions on pop up like forum descriptions, putting them on the category strip looks bad IMO but i want the descriptions for SEO
     
  2. 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>
    
     
    DieselMinded likes this.
  3. DieselMinded

    DieselMinded Active Member

    works , image 1 is old image 2 is new on scroll over
     

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      14.4 KB
      Views:
      4
    • 2.jpg
      2.jpg
      File size:
      16.9 KB
      Views:
      4
  4. Forsaken

    Forsaken Well-Known Member

    I did this on an older mockup, and this reminded me to do it with my newest one.

    Glad that it helped.
     

Share This Page