Results 1 to 14 of 14

Thread: Previous Listing<-- -->Next Listing

  1. #1
    persut is offline Active Member
    Join Date
    Apr 2003
    Location
    NY
    Posts
    331

    Default Previous Listing<-- -->Next Listing

    I was thinking to make a link to goto the next listing in the cat, and one for the previous listing.

    any ideas on possibilitys?

  2. #2
    esm's Avatar
    esm
    esm is offline Active Member
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    are you referring to the detail page?

    that would be nice. to just click a hyperlink to go from one detail link to the next.
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  3. #3
    dody is offline Administrator
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,731

    Default

    if you want to change the text and color in page navigation, edit /lib/pagination.class.php
    www.nicecoder.com
    www.dodyrw.com

  4. #4
    esm's Avatar
    esm
    esm is offline Active Member
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Originally posted by dody
    if you want to change the text and color in page navigation, edit /lib/pagination.class.php
    I'm not sure what that has to do with the next/previous link on the detail page...

    can you elaborate...
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  5. #5
    dody is offline Administrator
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,731

    Default

    Oh .. I though we talked about page navigation in browse.php and search.php

    Not sure if we can do easily with detail.php, unless you have an extra field in idx_link. Just call it 'order_number'. All links within same category should have unique value in 'order_number'. Then just go through this value.

    It may not simple as it is, because you have to maintain the value 'always' in a unique and 'always' exist.
    www.nicecoder.com
    www.dodyrw.com

  6. #6
    esm's Avatar
    esm
    esm is offline Active Member
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Originally posted by dody

    Not sure if we can do easily with detail.php, unless you have an extra field in idx_link. Just call it 'order_number'. All links within same category should have unique value in 'order_number'. Then just go through this value.

    It may not simple as it is, because you have to maintain the value 'always' in a unique and 'always' exist.
    Actually, I am almost finished with the MOD.

    Not sure about what you suggested. My way was simple but then I think in a simple way...
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  7. #7
    persut is offline Active Member
    Join Date
    Apr 2003
    Location
    NY
    Posts
    331

    Default

    kool esm let me know and ill test it out for ya, btw did you see my post on printer freindly pages

  8. #8
    esm's Avatar
    esm
    esm is offline Active Member
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    I'll let you know when it is ready

    yep, I saw your printer friendly post.
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  9. #9
    dody is offline Administrator
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,731

    Default

    esm, good job.
    www.nicecoder.com
    www.dodyrw.com

  10. #10
    esm's Avatar
    esm
    esm is offline Active Member
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Originally posted by persut
    kool esm let me know and ill test it out for ya
    you can see it here
    http://www.indexuhelp.com/indexu/detail.php?id=1572
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  11. #11
    persut is offline Active Member
    Join Date
    Apr 2003
    Location
    NY
    Posts
    331

    Default

    yes that is exalicty what i was looking for.
    thanks again esm

  12. #12
    esm's Avatar
    esm
    esm is offline Active Member
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    yep, I like it too

    it took a couple of hours and would have been quicker if I knew php better...or was a better programmer...

    you'd think it would not take 2 hours to write less than 25 lines of code

    I'm not giving up my day job!
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  13. #13
    persut is offline Active Member
    Join Date
    Apr 2003
    Location
    NY
    Posts
    331

    Default

    what is your day job?

  14. #14
    esm's Avatar
    esm
    esm is offline Active Member
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Accounting and Taxes
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

Similar Threads

  1. Weird Errors when Updating a Listing!
    By Illuvatar in forum v5.x
    Replies: 4
    Last Post: 07-13-2003, 08:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •