Article Menu does not sort

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
1996 328ti
Posts: 317
Joined: Mon 19. Apr 2004, 06:10
Location: Greenville, SC USA
Contact:

Article Menu does not sort

Post by 1996 328ti »

I suppose it is working the way it should but wonder if there is a workaround?

I have some categories (site structure) that sort by start date descending.
The list of articles sort fine.

When I use the Article Menu part in another article, the articles are not in the proper order.
They appear to be in someother order. Possibly creation order.
User avatar
Klappstuhl28
Posts: 833
Joined: Fri 4. Mar 2005, 01:58
Location: Hamburg
Contact:

Post by Klappstuhl28 »

Lars

Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
1996 328ti
Posts: 317
Joined: Mon 19. Apr 2004, 06:10
Location: Greenville, SC USA
Contact:

Post by 1996 328ti »

I'm not sure if that is the same problem.

Image
is a sorted list of articles. Correct.

Below
Image
uses the article menu content part. The dates are in a different order.
Christian Roth
Posts: 4
Joined: Thu 30. Mar 2006, 16:41
Location: Munich, Germany

Post by Christian Roth »

Same problem here :-(

I would expect the Article menu to use the sorting settings that has been set for the category it displays the listing for.

However, when I look at the (supposed...) code in /include/inc_front/content/cnt15.article.inc.php, the sort order seems to be fixed at

Code: Select all

ORDER BY article_sort, article_tstamp DESC
.

How must this code be patched so that the Article menu content part correctly reflects the sort order set for the category it is used on?

-rc
Post Reply