ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Previous and Next ordering

July 13, 2010 11:30am

Subscribe [2]
  • #1 / Jul 13, 2010 11:30am

    kilbey252

    4 posts

    Hi

    I have a template using previous/next which shows a large image of alphabetically arranged thumbnails.  Currently the ordering of previous/next is a bit random (probably date of upload).  Is there a simple parameter I can use to order previous/next by title (alphabetically)?  Current code shown below

    {exp:weblog:next_entry category="127"}<a href="http://{path=people-environment/content-people/}">Next</a>{/exp:weblog:next_entry} | 
    
    {exp:weblog:prev_entry category="127"}<a href="http://{path=people-environment/content-people/}">Previous</a>{/exp:weblog:prev_entry}
  • #2 / Jul 13, 2010 3:46pm

    Ingmar

    29245 posts

    Currently the ordering of previous/next is a bit random (probably date of upload).

    Yes, it’s date-based.

    Is there a simple parameter I can use to order previous/next by title (alphabetically)?

    I am afraid not. You’d probably have to use custom SQL query here.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases