Results 1 to 7 of 7

Thread: Display Order and Display Category Description.

  1. #1
    Join Date
    Aug 2001
    Posts
    38

    Default Display Order and Display Category Description.

    Hi there


    Two question today...

    1. How do I make the category description automatically display on the index page?

    2. Is there anyway of having my listings order change? ie; if I made it alphabetical listings, could how could I make the database automatically change to a new letter on top each day, so all letters of the alphabet have an opportunity to be listed first?


    Thankyou.

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Amanda, if you use v.3.0.2 then the category description is automatically displayed.
    To change the links order, open browse.php then edit line 80

    PHP Code:
    $links_obj->query "select * from idx_link where category_id = '$cat' order by bid desc"
    Change "order by bid desc" to other field name,
    eg.:

    PHP Code:
    $links_obj->query "select * from idx_link where category_id = '$cat' order by title"
    In order to change alphabetically for each day ....hmm you should create a code that generate
    the sql sintax daily.

  3. #3
    Join Date
    Aug 2001
    Posts
    38

    Default

    I do use version 3.02 now, but most of the information from the index page is missing. I have detailed it in another post.

    http://www.nicecoder.com/vbulletin/s...=&threadid=132

    and the last post on

    http://www.nicecoder.com/vbulletin/s...p?threadid=118

    Thanks.

  4. #4
    Join Date
    Aug 2001
    Posts
    38

    Default

    Disregard my last posts, my index page have magically started working again all by themselves!

    Thanks anyway

    Amanda

  5. #5
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Well, you may forget to refresh your browser

  6. #6
    Join Date
    Nov 2001
    Posts
    11

    Default

    How do we get it to sort by title in hot.php, new.php, pick.php, etc.? (v3.02)

  7. #7
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    You can't shot them by title (or by other fields).
    They will be sorted by category name.

Similar Threads

  1. Replies: 2
    Last Post: 09-20-2002, 09:36 AM
  2. Display order of hot, pick,new etc
    By Shophere in forum v5.x
    Replies: 1
    Last Post: 11-14-2001, 08:54 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
  •