- Posts: 4
COMMUNITY FORUM
K2 User page blog order
- Derek Desormeaux
-
Topic Author
- Offline
- New Member
Recently I added a link to my menu to a blog - K2> item listings> User page (blog).
I created the user, wrote some K2 articles/items and published them under a category entitled 'in the press'.
Everything is working the way it should be. I've even included a module on the side that archives the older items.
My problem is when I go to the user page/link the articles that are displayed there are in reverse order, oldest to newest. I have tried adjusting the settings in the category parameters but nothing happens.
How can I order the articles/items?
Is this a bug with the 'User page (blog)' listing in K2? I have seen solutions online which suggest to link to a K2 category instead, but then what is the User page (blog) good for? Why can't I order these items in User page mode?
Please Log in or Create an account to join the conversation.
- gerardo
-
- Visitor
Please Log in or Create an account to join the conversation.
- Derek Desormeaux
-
Topic Author
- Offline
- New Member
- Posts: 4
community.getk2.org/forum/topics/how-can-i-create-blog-pages-in
and some of it from here:
www.alledia.com/blog/joomla-tutorials/k2-the-missing-documentation-part-2/
Please Log in or Create an account to join the conversation.
- Carlos Matos
-
- Offline
- New Member
- Posts: 4
I have some users that have items in different categories, and in the blog view those items appear in the ID order.
the website is new and those articles were inserted in a random order and now i cant order them by creation date or item order ...
Please Log in or Create an account to join the conversation.
- Derek Desormeaux
-
Topic Author
- Offline
- New Member
- Posts: 4
Please Log in or Create an account to join the conversation.
- BBC
-
- Offline
- Platinum Member
- Posts: 663
Please Log in or Create an account to join the conversation.
- Carlos Matos
-
- Offline
- New Member
- Posts: 4
i finnaly made a work around for this problem check it out.
it's simple and quick to do it, but you have to insert a line of code into a file thou.
link for the work around here
Please Log in or Create an account to join the conversation.
- Derek Desormeaux
-
Topic Author
- Offline
- New Member
- Posts: 4
Please Log in or Create an account to join the conversation.
- Odin Mayland
-
- Offline
- Platinum Member
- Posts: 404
Even with a menu item for that user, I can not get it to display in any other order than the item ID.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Odin Mayland
-
- Offline
- Platinum Member
- Posts: 404
Krikor wrote: Hello Jeff, is this related to the other post?
Yes and I have been able to set up a hidden menu item for a specific author to set the sort order to date.
I still need a solution for a global setting of all searches by date.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Line 351:
$orderby = 'i.id DESC';
$orderby = 'i.created DESC';
This will set the default ordering to chronological ordering.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Odin Mayland
-
- Offline
- Platinum Member
- Posts: 404
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.