[Works per visitor session] Random order in Content Module does not work.

More
8 years 7 months ago - 8 years 7 months ago #67878 by lipatovroman
Hi!
I need to display only featured items in random mode.

At first I enabled random mode:



But module always displays same items... No random.
Last edit: 8 years 7 months ago by ggppdk.

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

More
8 years 7 months ago #67879 by lipatovroman
I have checked Random option on another site - same issue.

Here is settings:

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

More
8 years 7 months ago #67880 by ggppdk
Hello

it works

just randomly per visitor !

this way
- the user will see same items even if user refreshes
- the random order will work properly with pagination too in category-like views

user will see different order if site is revisited after user SESSION ends (e.g. browser window closed)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

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

More
8 years 7 months ago - 8 years 7 months ago #67881 by ggppdk
Also note: if you enable conservative caching and also enable caching in module then all users may see same order until cache expires

Progressive caching should not cause the above
Another option is not enable caching inside the modulein general it is best to disable caching

In short it works as intended


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 8 years 7 months ago by ggppdk.

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

More
8 years 7 months ago #67882 by ggppdk
To verify that random order works

Open website using 2 different browsers

you should see 2 different orders


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

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

More
8 years 7 months ago #67883 by lipatovroman

ggppdk wrote: To verify that random order works

Open website using 2 different browsers

you should see 2 different orders


Ok, is it possible to enable random displaying for same user?
It's very common option.

Fro example, we want to display only random featured items for same user, because user can back on specific page several times.

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

More
8 years 7 months ago - 8 years 7 months ago #67884 by ggppdk
Hello

It is very easy to add 1 more option , that will not use session, and always do random

It was like this initially, but as it was bogus and we fixed

about being "very" common , i doubt it

Lets think of language strings:
e.g.
"Random per visitor (per session)"
"Random per page reload"

e.g.
"Random per user (per session)"
"Random per refresh"


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 8 years 7 months ago by ggppdk.

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

More
8 years 7 months ago #67885 by lipatovroman

ggppdk wrote: "Random per user (per session)"
"Random per refresh"

Very good strings.

about being "very" common , i doubt it


I know dozens of components (k2, com_content, seblod, virtuemart e.t.c) that does not have option "Random per user (per session)". They only have classic random mode - "Random per refresh".
We use this mode for years.
Today, for the first time in my life I found "Random per user (per session)" mode. It's very good mode, but we should have standart random mode too.
Thanks. You are awesome.

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

More
8 years 7 months ago #67886 by ggppdk
Hello

i am adding it

but i am not sure if we should allow users to select it in category view,
as pagination becomes messed up, and we will have users reporting a bug

maybe only allow this order in module


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

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

More
8 years 7 months ago #67891 by lipatovroman

ggppdk wrote: Hello

i am adding it

but i am not sure if we should allow users to select it in category view,
as pagination becomes messed up, and we will have users reporting a bug

maybe only allow this order in module


Of course! Random mode is only for modules.

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

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save