I’ve created a list of links: http://test.ksba.org/links
Here is my code for these linklists:
{exp:linklist:entries linklist="partner-links|kentucky|region|education-data|other-education|nsba" orderby="linklist_title" status="open" dynamic="off"}
{list_heading}<h2>{linklist_title}</h2>{/list_heading}
<ul class="mainList">
<li><a href="http://{linklist:url}">{linklist:url_title}</a></li>
</ul>
{/exp:linklist:entries}
It works as is right now, but I’d like to sort everything by url_title if possible and keep the groupings correct just as you see it now. Each URL is correctly grouped under the linklist_title but they are not in alphabetical order. When I user orderby=”url_title”, it orders them by title, but it does not keep the grouping correct. So essentially it takes every url_title from each link list and alphabetizes them, messing up the groupings and the linklist_titles.
Any ideas?
it doesn’t order them in that way. unfortunately linklist doesn’t know that you’re grouping them together in separate groups, and thusly doesn’t sort them that way, but instead sorts them out in one long list. since the query just gets them all in one query that is.
to get that result you’re desiring, you’d have to make multiple linklist entries statements unfortunately. :/
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.