Search code examples
expressionengine

ExpressionEncgine 1.6.7 Maintain entry order inside a category


I'm using this code:

{exp:weblog:categories weblog="games" style="none" show_empty="no"}
{exp:weblog:entries site="games_site" weblog="games" category="{category_id}" style="linear" disable="member_data|pagination|trackbacks" } 
{title}
{/exp:weblog:entries}
{/exp:weblog:categories}

to display all the entries for all categories assigned to a specific weblog. This works ok, but I would like to maintain the order given to the entry inside each category. Is there a specific orderby parameter to use?


Solution

  • Sorry I was confused about what you were asking for. I think what you want is the category_archive tag.

    Something like this:

    {exp:weblog:category_archive weblog="games" style="none" show_empty="no" style="linear" disable="category_fields"}
    
    {entry_titles}
    {title}
    {/entry_titles}
    
    {/exp:weblog:category_archive}