Keyword

Item Navigation (previous and next item) - ordering by date and not by id

  • Asiya Novik
  • Asiya Novik's Avatar Topic Author
  • Offline
  • New Member
More
13 years 1 month ago #99711 by Asiya Novik
Hi,

i'd like to do Item Navigation (previous and next item on the item page) ordered by date and not by id.

Is it possible to do? colud you please help me

thank you i advance!

 

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago - 12 years 2 months ago #99712 by Adrian Aguilera
[SOLUTION] (Using K2 v.2.5.7)

In the file:
com_k2/views/item/view.html.php line 219
change this:
					
Aguilera:::

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #99713 by Adrian Aguilera
Sorry, this solution is incomplete. Working on it...

Aguilera:::

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #99714 by snlr
Is there a solution to this bug yet?

Item navigation always seems to go by ID, not by the order which was set in the category's settings. Clearly, if the user clicks on an item from a list of items, he expects to keep moving in the same ordering from just seconds before.


Thank you in advance!

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #99715 by Jose M.
Hello!
does not have a solution for this problem? I am using K2 2.6.7

Thanks.

Jose M.

Please Log in or Create an account to join the conversation.

More
11 years 8 hours ago #99716 by Andrew Paterson
Any ideas on this yet? I really need this feature as well!

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #99717 by Rob
The method at this link worked for me . . . solved, for now.

This should really be a feature of K2 though, I think. Surely the navigation should follow the order set in the category . . . or admin facility to set ordering of navigation within articles.

Method works, but it does edit core files so not upgrade friendly . . :

getk2.org/community/English-K2-Community/166387-Item-Navigation-Order


Rob.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum