Datafeedr Support Forums

Datafeedr Support Forums (/index.php)
-   Questions (/forumdisplay.php?f=67)
-   -   number of items dissapears... (/showthread.php?t=10467)

yankeestonk April 8th, 2014 05:19 PM

number of items dissapears...
 
sorry for the lousy Title above. not sure how to describe this one. http://saveongolf.net . If you click on "All Drivers" for instance you'll see the number of Drivers in each category. But once you click on say "Nike", the numbers in ( ) disappear when the page refreshes. Can I fix that?

Eric April 8th, 2014 08:48 PM

Hi,

I changed this:

HTML Code:

[category.list before='<ul>' after='</ul>']
   
  [category.if active="self"]
    <li class="active">
      [category.name]
      [category.repeat]
    </li>
  [/category.if]
 
  [category.if active="child"]
    <li>
      <a href="[category.link]" title="[category.name]">[category.name]</a> 
      [category.repeat]
    </li>
  [/category.if]
 
  [category.if active="parent"]
    <li>
      <a href="[category.link]" title="[category.name]">[category.name]</a> [category.pct]
    </li>
  [/category.if]
 
  [category.if active="no"]
    <li>
      <a href="[category.link]" title="[category.name]">[category.name]</a>
    </li>
  [/category.if]

   
[/category.list]

To this:

HTML Code:

[category.list before='<ul>' after='</ul>']
   
  [category.if active="self"]
    <li class="active">
      [category.name]  [category.pct]
      [category.repeat]
    </li>
  [/category.if]
 
  [category.if active="child"]
    <li>
      <a href="[category.link]" title="[category.name]">[category.name]</a> [category.pct]
      [category.repeat]
    </li>
  [/category.if]
 
  [category.if active="parent"]
    <li>
      <a href="[category.link]" title="[category.name]">[category.name]</a> [category.pct]
    </li>
  [/category.if]
 
  [category.if active="no"]
    <li>
      <a href="[category.link]" title="[category.name]">[category.name]</a> [category.pct]
    </li>
  [/category.if]

   
[/category.list]

In your Categories widget and that seems to have fixed the issue.

You'll need to click the [Update Settings Only] button to apply the changes.

Eric

yankeestonk April 9th, 2014 07:50 AM

Works great! Thank you!!!


All times are GMT -5. The time now is 01:06 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.