Anyone familiar with the LinkList Module - What am I doing wrong?
Posted: 14 May 2008 02:15 PM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1570
Joined  08-02-2006

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="{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?

 Signature 

Deron Sizemore
==========
Random Jabber | Sizcons | NiceStylesheet | Kentucky Golfing | LogoGala
Twitter: Deron Sizemore | LogoGala

Profile
 
 
Posted: 13 September 2008 01:32 PM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  325
Joined  02-06-2004

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. :/

 Signature 

hello! yoshi
hello! food |

Profile
 
 
Posted: 13 September 2008 01:47 PM   [ Ignore ]   [ # 2 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1570
Joined  08-02-2006

Thank you very much Yoshi!

 Signature 

Deron Sizemore
==========
Random Jabber | Sizcons | NiceStylesheet | Kentucky Golfing | LogoGala
Twitter: Deron Sizemore | LogoGala

Profile
 
 
Posted: 13 September 2008 01:49 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  325
Joined  02-06-2004

yeah it’s not really a solution but a workaround for that. making orderby more versatile would be nice. I guess since EE 2.0 is delayed I should release a new version of linklist.

 Signature 

hello! yoshi
hello! food |

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65086 Total Logged-in Users: 37
Total Topics: 82224 Total Anonymous Users: 21
Total Replies: 441923 Total Guests: 196
Total Posts: 524147    
Members ( View Memberlist )