Jump to content
Larry Ullman's Book Forums

rgkopchak

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About rgkopchak

  • Rank
    Newbie
  1. I have been using the pagination script in an ecommerce site of mine, and when I started it was working great... but as the site has grown, so have the results. I never imaged I'd have so many products and didn't really plan accordingly... I've got over 400 in one category, which gives me 20+ pages (this ends up breaking the formatting of the page). If you wanted to limit the number of results shown, what would be the best way to accomplish this using the existing script as a base? I'm thinking of something like.... << FIRST ... 4 | 5 | 6 | 7 | 8 ... LAST >> Instead of PREVIOUS | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 NEXT Not looking for anyone to write the code, just trying to wrap my head around how to tackle the problem and have the pages be dynamic if there is more than a given number (say 10 pages.) Thanks as always for the amazing book!
  2. Thanks again Larry for providing an amazing resource. I'll defiantly be picking up the 5th edition of your book, I owe you AT LEAST that for all the use I've gotten out of the 2nd. You should see it, I've practically worn it out!
  3. Love the book, created a site back in 2010 based off of everything I learned! It has been running great for years now, but after I recent server migration I realized that (of course) a number of things are no longer current or "best practice". So for someone in this situation, what would you suggest? Just get the most recent copy of the book? Is there a guide somewhere on "What is new" between versions? Is there another book? Thanks in advance, and thanks for everything! Literally everything I know I learned from Larry Ullman!
×
×
  • Create New...