Keyword

Display articles in a random way

More
10 years 1 day ago - 10 years 1 day ago #149141 by Rabi
Display articles in a random way was created by Rabi
Dear all,

Is it possible to display articles inside a category in a random way?

I mean every time user opens the page of articles he will find a different order of these articles...

TIA

OR
Last edit: 10 years 1 day ago by Rabi.

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

More
10 years 23 hours ago #149150 by Lefteris
Replied by Lefteris on topic Display articles in a random way
Hi,

Yes, you can use the K2 content module and set items ordering to random. However note that you should disable caching for this in order to get different items on every page load. However keep in mind that this could affect your site performance.

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

More
9 years 11 months ago - 9 years 11 months ago #149226 by Rabi
Replied by Rabi on topic Display articles in a random way
I tested your proposition but it does not work for me. As I said, I wanted that every time I reload the page I have a different order not only randomly for one time...

I did a work around, where articles order will change every 1 min, cf. for ex. : bosnah.net/dir/%D9%81%D9%86%D8%A7%D8%AF%D9%82

TIA
Last edit: 9 years 11 months ago by Rabi.

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

More
9 years 11 months ago #149230 by Lefteris
Replied by Lefteris on topic Display articles in a random way
If it does not work it's because you have enabled caching. With no caching it will work as long as you have set up the module correctly.

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


Powered by Kunena Forum