Author Topic: Display current/total articles (i.e. "1/5")  (Read 294 times)

akay

  • Newbie
  • *
  • Posts: 5
    • View Profile
Display current/total articles (i.e. "1/5")
« on: 27 January 2012, 23:18 »
My scroller show 5 articles, one at a time. Is there a way to make it show which number article you're on out of the total number of articles?

So the first article would say 1/5

The second, 2/5

I suppose I could add this to the article text and assign it a specific CSS tag, but I'd prefer it to generate automatically. Is that possible?

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Display current/total articles (i.e. "1/5")
« Reply #1 on: 27 January 2012, 23:39 »
You can display the page/slide number but not the total.
The reason is that this is using AJAX so there is no way for the module to know the total number of articles until it gets them all. It fetches the articles as you scroll and not all at page load.