What's the deal with Deno? We talk with a major contributor to find out. Listen now.

Questions tagged [random]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
41 views

Getting Random Channel Entries From Within The Channel Entry View

EE 5.2.6 I am in an entry view and trying to pull a random entry from the same channel and all that it's doing is pulling the entry for the current page. This would be something like a blog entry ...
0
votes
2answers
50 views

Fetch entries grouped on custom field value, randomised within each group

Using EE v2.8.1 I need to display a list of entries, split into 4 groups, the entries should be randomised within each group (entries are grouped on a custom field value, which can be between 1 and 4)...
0
votes
1answer
23 views

EE3 How to show random template variables

I created some template variables which is https://docs.expressionengine.com/latest/templates/globals/template_variable.html, how can I show one of them randomly?
1
vote
3answers
397 views

Pull random 10 entries without duplicating every time when ajax calls

Possible to pull random 10 entries (without duplicating entries) with ajax everytime when scroll to the bottom, right now it loads random 10 entires but it duplicates and some entries never shows up. ...
1
vote
1answer
591 views

orderby=“random” same results being displayed every time

I am trying to select 3 random entries from a few channels. I have: {exp:channel:entries limit="3" channel="X|Y|Z" status="open" orderby="random" disable="categories|category_fields|member_data|...
0
votes
1answer
320 views

Using Channel entries with orderby=“random” without repeating entry ids

I'm using EE for a basic assessment platform and the questions (entries) are presented to the user need to be in a random order from a fixed list so that the order of questions changes per user. {...
0
votes
1answer
57 views

Random template embedding?

I know you can easily load a random entry from a channel, but I wanted to know if the functionality exists in EE to randomly embed and load a template from a group? Thanks in advance for any guidance ...
1
vote
0answers
89 views

Using Playa to display fixed and then random entries

I'm using Playa to display entries in a "Featured Stories" list. Let's say I have ten stories selected in the Playa. I'd like to be able to control the first three featured stories in the order they ...
1
vote
3answers
336 views

Grab random entry without orderby=“random”?

I'm using DevDemon's Channel Videos to include videos into my entry. I'd like to output only up to 2 videos, randomly selected from my list. Unfortunately the orderby="random" option isn't available. ...
4
votes
1answer
78 views

Why is the word “random” treated differently in the template parser?

We are experiencing some PHP errors due to a "too large" regular expression that is taking place during template parsing in Template.php. We noticed it was only occurring on templates that load an ...
1
vote
4answers
154 views

Add a randomised body class

I need to add a random class from a selection of pre-defined classes to the body tag of a template. I did it with JS but the change is visible so I would like to do it before the page is rendered. ...
1
vote
2answers
320 views

Exclude random entry from another entry tag

I'm trying to load a random channel entry on page landing, while excluding that entry from the navigation to view more in the sidebar.... Here's what i want to do, but I'm not sure how to make this ...
0
votes
1answer
189 views

Assets: pick a random one of the assets in this entry

If my client attaches 4 images to an Assets-field for an entry, how would I get a random one of those images? I was hoping something along these lines: {exp:channel:entries channel='types'} {...