Linklist Module Latest Updates to 1.2

Well, pagination is now officially working very well. I’ve worked out a few kinks in the way that 1.3 checks the URL to make sure there’s a valid template, and now I personally think it’s good to go. However, I see an issue! (there’s always some of those)

If you are using the linklist in the sidebar (like most of you probably are) and use pagination, and you are on, say, a single entry page, you can get funky results. Not from the linklist, but from the weblog or comments tags. After I noticed it it didn’t surprise me, as I’m never surprised anymore when things don’t go the way I thought it would. hehe.

Let’s use the url http://www.psychodaisy.com/index.php/weblog/comments/this_is_a_title_permalink. If you are on that page and use linklist pagination and create a URL like http://www.psychodaisy.com/index.php/weblog/comments/this_is_a_title_permalink/LP3, you’ll notice that the linklist does paginate. However…you may not necessarily see the right weblog entry to be commented on. I’ve noticed that it actually display the latest weblog entry comments. This makes perfect sense, because I believe what is happening is that the check for the url_title of the entry is seeing the url_title as: this_is_a_title_permalink/LP3. At least that is my theory.

Now, to me, this may be perfectly acceptable. Most people will probably sort through the links on the sidebar, as they’re looking for the links, not necessarily the entry itself. It’s tough to say.

So, I’m saying that this version is almost ready for release, however I only need a few more people to beta test it. In a nutshell, here are the new things:

- Pagination : you can now paginate your linklist, with syntax almost exactly like normal weblog and comments entries. Plans in the future to have the pagination_links be customizable.

- Cosmetic Changes : The CP side has had a cosmetic facelift. Since 1.3, some of the CSS classes were changed around.

- Member_id parameter changed : if you omit the member_id parameter in the exp:linklist:entries tag, it will assume ALL members’ linklists. So if you have more than one person entering their own linklists, then by default, omitting the member_id will display them all. (this default used to be member_id = 1)

Random Posts

 

Comments are closed.