All Questions
Tagged with query channel-entries
11 questions
1
vote
1
answer
180
views
Getting Channel Entry Data With AJAX
EE 5.2.2
I am making an app that lists channel entries in a template. Some of the data in these entries could be very substantial so I would like to only call that data if/when the user chooses. The ...
1
vote
1
answer
202
views
Create an entry from an extension?
Is it possible to use the model service to create a new entry?
I have been using the model service recently to update and delete channel entries, but can't figure out how to create.
$update_query = ...
0
votes
1
answer
225
views
Model service filtering by date
I have recently started using the model service to query channel entries.
$query = ee('Model')->get('ChannelEntry')
->filter(...);
I have been using EE's documentation to ...
1
vote
1
answer
66
views
Need query that filters entries by category
I need to display entries from Channel 1 and entries from (Channel 2, Category 1).
I'm guessing the meat of the query would be something like this:
WHERE channel_id = 1 OR (channel_id = 2 AND cat_id ...
0
votes
2
answers
184
views
Need help with a query to get data
I need a complex query and have gone beyond my scope of understanding.
Here is the gist...
There is a section of the site in which users can select various values available in entries of a ...
0
votes
1
answer
109
views
How can I retrieve the site name from a channel entry as a query?
I have a plugin that I am editing at the moment and I am looking to do a query that takes the site_id from a channel(not a channel entry) and then grabs the id and passes that through a function that ...
0
votes
1
answer
60
views
Return only entries which have the same custom field as the current displayed entry?
I'm trying to display a list of links dynamically based on the current entry that is being displayed. with code along the lines of this:
{exp:channel:entries channel='tour' disable="category_fields|...
0
votes
1
answer
59
views
Extracting category ID of an entry and then using it to display more entries
I'm wondering what the best way to do this may be. I probably haven't worded the question in the best way so I'll explain.
Basically, I have an entry on page which is assigned to a category. On the ...
2
votes
3
answers
1k
views
Passing ID’s from a query to Channel Entries
I'm using quite a complex query using exp:query to generate the member ID's of members who have certain data in a custom field.
I'm struggling on how to pass the generated ID's onto a channel entries ...
2
votes
2
answers
319
views
How can I use exp:query in entries?
I'm looking for a way to use exp:query in entries. So far I haven't been able to find this. I know it's not recommended but for what I'm trying to build it's most feasible to do so. That way I'll be ...
1
vote
1
answer
250
views
Channel Entries: DISTINCT and COUNT
Given Channel entries, is there a way to get a list of unique entries in a text field and how many times that entry exist? For example, say the Channel contains the field first_name (FT is text) and ...