House of Fusion
Home of the ColdFusion Community

Search cf-talk

October 07, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition
Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

Tutorial on creating this pagination?

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Rick,
Nathan Strutz
04/10/08 05:21 P
Nathan,
Rick Faircloth
04/10/08 09:07 P
Nathan...
Rick Faircloth
04/12/08 07:43 A
I think it's:
Nathan Strutz
04/12/08 05:23 P
Got it! Perfecto! Thanks, Nathan!
Rick Faircloth
04/12/08 06:45 P
>Nathan,
Will Tomlinson
04/10/08 11:29 P
I knew I hear from you, Will! :o)
Rick Faircloth
04/11/08 12:11 A
>I knew I hear from you, Will! :o)
Will Tomlinson
04/11/08 06:02 A
Have you looked at this?
Sonny Savage
04/10/08 05:22 P
Thanks for the tip, Sonny, I'll check it out!
Rick Faircloth
04/10/08 06:12 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Faircloth
04/10/2008 05:14 PM

Anyone know of a tutorial that would teach me how to setup pagination that would work like this: < Previous  1  2  ...  8  9  [10]  11  12  ...  39  40  Next > - Previous Link - Next Link - First one or two pages - Last one or two pages - Current Page (represented by the [10]) - Several links surrounding the current page I've always used the basic "Previous Next" pagination, but I'd like to advance that. I looked online, but haven't found anything with all the specs, or with enough of a start that I could figure the rest out. I checked into a javascript approach, but dumping all the records, perhaps thousands, would be a little much for the client, I think. I'd be pulling records from a MySQL database. Thanks, Rick

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Nathan Strutz
04/10/2008 05:21 PM

Rick, Check out my pagination.cfc: http://www.dopefly.com/projects/pagination/ It's currently 1.0 RC, full release coming soon. Check out the documentation & live examples (code available in the download) to do basically exactly what you want. -- nathan strutz http://www.dopefly.com/ On Thu, Apr 10, 2008 at 2:15 PM, Rick Faircloth <Rick@whitestonemedia.com> wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Faircloth
04/10/2008 06:12 PM

Thanks for the tip, Nathan... I'll definitely check it out! Rick ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Faircloth
04/10/2008 09:07 PM

Nathan, Just wanted to let you know that I implemented your component and it went perfectly...and that was the first cfc I've ever used! I haven't gone beyond the default settings, except for number of records per page, but I'm sure customizing will go well, too. Nice clear instructions for the use of the component. Much appreciated! Rick ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Nathan Strutz
04/10/2008 11:11 PM

Awesome, glad it worked, thanks for the review. I'm blogging this. :) On Thu, Apr 10, 2008 at 6:08 PM, Rick Faircloth <Rick@whitestonemedia.com> wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Faircloth
04/10/2008 11:26 PM

Be my guest!  I'm looking forward to using some of the custom designs that you've created, as well! Rick ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Faircloth
04/12/2008 07:43 AM

Nathan... I've customized the look of the pagination for paginationcfc and it looks just the way I want, except I haven't figured out what CSS controls the ellipsis. How do I change the color of that? Rick ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Nathan Strutz
04/12/2008 05:23 PM

I think it's: div.pagination { color:#F00; } At the same time, make sure you specify colors for anything else it may affect, such as: div.pagination span { color:#0F0; } On Sat, Apr 12, 2008 at 4:43 AM, Rick Faircloth <Rick@whitestonemedia.com> wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Faircloth
04/12/2008 06:45 PM

Got it!  Perfecto!  Thanks, Nathan! Rick ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Will Tomlinson
04/10/2008 11:29 PM

>Nathan, > >Just wanted to let you know that I implemented your component >and it went perfectly...and that was the first cfc I've ever used! My god son!!  :)

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Faircloth
04/11/2008 12:11 AM

I knew I hear from you, Will!  :o) Yep, that was the first file I've had on my system with a .cfc extension! I'm catching up, *slowly* but surely! Rick ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Will Tomlinson
04/11/2008 06:02 AM

>I knew I hear from you, Will!  :o) >Yep, that was the first file I've had on my system with a .cfc extension! > >I'm catching up, *slowly* but surely! I pretty much knew your apps suffered from a lack of sexiness. Keep workin on it I guess.  :)

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Sonny Savage
04/10/2008 05:22 PM

Have you looked at this? http://paginationcfc.riaforge.org/ On Thu, Apr 10, 2008 at 5:15 PM, Rick Faircloth <Rick@whitestonemedia.com> wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Faircloth
04/10/2008 06:12 PM

Thanks for the tip, Sonny, I'll check it out! Rick ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists